UNPKG

630 BYAMLView Raw
1extends: eslint:recommended
2env:
3 node: true
4 browser: true
5rules:
6 block-scoped-var: 2
7 complexity: [2, 15]
8 curly: [2, multi-or-nest, consistent]
9 dot-location: [2, property]
10 dot-notation: 2
11 indent: [2, 2, SwitchCase: 1]
12 linebreak-style: [2, unix]
13 new-cap: 2
14 no-console: [2, allow: [warn, error]]
15 no-else-return: 2
16 no-eq-null: 2
17 no-fallthrough: 2
18 no-invalid-this: 2
19 no-return-assign: 2
20 no-shadow: 1
21 no-trailing-spaces: 2
22 no-use-before-define: [2, nofunc]
23 quotes: [2, single, avoid-escape]
24 semi: [2, always]
25 strict: [2, global]
26 valid-jsdoc: [2, requireReturn: false]
27 no-control-regex: 0