ajv/.eslintrc.yml

30 lines
681 B
YAML
Raw Normal View History

2016-12-26 20:58:38 +03:00
extends: eslint:recommended
env:
node: true
browser: true
rules:
block-scoped-var: 2
callback-return: 2
2019-02-10 01:06:43 +03:00
complexity: [2, 16]
2016-12-26 20:58:38 +03:00
curly: [2, multi-or-nest, consistent]
dot-location: [2, property]
dot-notation: 2
indent-legacy: [2, 2, SwitchCase: 1]
2016-12-26 20:58:38 +03:00
linebreak-style: [2, unix]
new-cap: 2
no-console: [2, allow: [warn, error]]
no-else-return: 2
no-eq-null: 2
no-fallthrough: 2
no-invalid-this: 2
no-return-assign: 2
no-shadow: 1
no-trailing-spaces: 2
no-use-before-define: [2, nofunc]
quotes: [2, single, avoid-escape]
semi: [2, always]
strict: [2, global]
valid-jsdoc: [2, requireReturn: false]
2017-01-24 00:48:37 +03:00
no-control-regex: 0
2017-07-07 00:03:30 +03:00
no-useless-escape: 2