PATH:
usr
/
local
/
lib
/
node_modules
/
knex-migrator
/
node_modules
/
ajv
/
lib
/
dotjs
'use strict'; module.exports = function generate_comment(it, $keyword, $ruleType) { var out = ' '; var $schema = it.schema[$keyword]; var $errSchemaPath = it.errSchemaPath + '/' + $keyword; var $breakOnError = !it.opts.allErrors; var $comment = it.util.toQuotedString($schema); if (it.opts.$comment === true) { out += ' console.log(' + ($comment) + ');'; } else if (typeof it.opts.$comment == 'function') { out += ' self._opts.$comment(' + ($comment) + ', ' + (it.util.toQuotedString($errSchemaPath)) + ', validate.root.schema);'; } return out; }
[-] enum.js
[edit]
[-] _limit.js
[edit]
[-] allOf.js
[edit]
[+]
..
[-] required.js
[edit]
[-] uniqueItems.js
[edit]
[-] contains.js
[edit]
[-] const.js
[edit]
[-] anyOf.js
[edit]
[-] not.js
[edit]
[-] dependencies.js
[edit]
[-] if.js
[edit]
[-] _limitLength.js
[edit]
[-] properties.js
[edit]
[-] multipleOf.js
[edit]
[-] items.js
[edit]
[-] comment.js
[edit]
[-] index.js
[edit]
[-] propertyNames.js
[edit]
[-] ref.js
[edit]
[-] custom.js
[edit]
[-] format.js
[edit]
[-] pattern.js
[edit]
[-] validate.js
[edit]
[-] README.md
[edit]
[-] _limitItems.js
[edit]
[-] oneOf.js
[edit]
[-] _limitProperties.js
[edit]