1 |
|
2 |
|
3 |
|
4 | root: true
|
5 | parser: esprima
|
6 | parserOptions:
|
7 | sourceType: module
|
8 | rules:
|
9 |
|
10 | no-console: 0
|
11 | no-debugger: 1
|
12 | no-dupe-args: 1
|
13 | no-dupe-keys: 1
|
14 | no-duplicate-case: 1
|
15 | no-empty-character-class: 1
|
16 | no-ex-assign: 1
|
17 | no-extra-boolean-cast: 1
|
18 | no-extra-semi: 1
|
19 | no-func-assign: 1
|
20 | no-inner-declarations: 1
|
21 | no-invalid-regexp: 2
|
22 | no-irregular-whitespace: 1
|
23 | no-negated-in-lhs: 2
|
24 | no-obj-calls: 2
|
25 | no-regex-spaces: 1
|
26 | no-sparse-arrays: 1
|
27 | no-unexpected-multiline: 1
|
28 | no-unreachable: 1
|
29 | use-isnan: 2
|
30 | valid-typeof: 2
|
31 |
|
32 |
|
33 | dot-notation: 1
|
34 | eqeqeq: 1
|
35 | no-alert: 1
|
36 | no-caller: 2
|
37 |
|
38 | no-eval: 0
|
39 | no-extend-native: 1
|
40 | no-extra-bind: 1
|
41 | no-floating-decimal: 1
|
42 | no-iterator: 2
|
43 | no-labels: 2
|
44 | no-loop-func: 1
|
45 |
|
46 | no-multi-spaces: 0
|
47 | no-native-reassign: 2
|
48 | no-new-func: 1
|
49 | no-octal: 2
|
50 | no-proto: 2
|
51 | no-redeclare: 1
|
52 | no-sequences: 1
|
53 |
|
54 | no-unused-expressions: 0
|
55 | no-with: 1
|
56 |
|
57 |
|
58 | no-delete-var: 1
|
59 | no-shadow-restricted-names: 1
|
60 | no-undef-init: 2
|
61 |
|
62 | no-undef: 0
|
63 |
|
64 | no-unused-vars: 0
|
65 | no-use-before-define: [2, 'nofunc']
|
66 |
|
67 |
|
68 | array-bracket-spacing: 1
|
69 | block-spacing: 1
|
70 | brace-style: [1, 'stroustrup', {allowSingleLine: true}]
|
71 | func-style: [1, 'declaration', {allowArrowFunctions: true}]
|
72 |
|
73 | indent: 0
|
74 | key-spacing: 0
|
75 | keyword-spacing: 1
|
76 | new-parens: 1
|
77 | no-mixed-spaces-and-tabs: 2
|
78 | no-spaced-func: 1
|
79 | no-unneeded-ternary: [2, {defaultAssignment: false}]
|
80 | object-curly-spacing: 1
|
81 | one-var-declaration-per-line: 1
|
82 |
|
83 | operator-linebreak: 0
|
84 | quotes: [1, 'single', 'avoid-escape']
|
85 | semi: [1, 'always']
|
86 | space-before-function-paren: [1, {anonymous: 'always', named: 'never'}]
|
87 | space-in-parens: 1
|
88 | space-infix-ops: 2
|
89 | space-unary-ops: 1
|
90 |
|
91 |
|
92 | no-class-assign: 2
|
93 | no-const-assign: 2
|
94 | no-dupe-class-members: 1
|