src/plugins/json-schema-validator/validator/path-translator.js
Function transformPathToArray
has 43 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function transformPathToArray(property, jsSpec) {
if (property.slice(0, 9) === "instance.") {
var str = property.slice(9)
} else {
// eslint-disable-next-line no-redeclare