.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / ajv / lib / dot / not.jst
1 {{# def.definitions }}
2 {{# def.errors }}
3 {{# def.setupKeyword }}
4 {{# def.setupNextLevel }}
5
6 {{? {{# def.nonEmptySchema:$schema }} }}
7   {{
8     $it.schema = $schema;
9     $it.schemaPath = $schemaPath;
10     $it.errSchemaPath = $errSchemaPath;
11   }}
12
13   var {{=$errs}} = errors;
14
15   {{# def.setCompositeRule }}
16
17   {{
18     $it.createErrors = false;
19     var $allErrorsOption;
20     if ($it.opts.allErrors) {
21       $allErrorsOption = $it.opts.allErrors;
22       $it.opts.allErrors = false;
23     }
24   }}
25   {{= it.validate($it) }}
26   {{
27     $it.createErrors = true;
28     if ($allErrorsOption) $it.opts.allErrors = $allErrorsOption;
29   }}
30
31   {{# def.resetCompositeRule }}
32
33   if ({{=$nextValid}}) {
34     {{# def.error:'not' }}
35   } else {
36     {{# def.resetErrors }}
37   {{? it.opts.allErrors }} } {{?}}
38 {{??}}
39   {{# def.addError:'not' }}
40   {{? $breakOnError}}
41     if (false) {
42   {{?}}
43 {{?}}