1 | env:
|
2 | node: true
|
3 | browser: false
|
4 | es6: false
|
5 |
|
6 | rules:
|
7 | accessor-pairs: 2
|
8 | array-bracket-spacing: [ 2, "always", { "singleValue": true, "objectsInArrays": true, "arraysInArrays": true } ]
|
9 | block-scoped-var: 2
|
10 | block-spacing: 2
|
11 | brace-style: [ 2, '1tbs', { allowSingleLine: true } ]
|
12 |
|
13 |
|
14 | comma-dangle: 2
|
15 | comma-spacing: 2
|
16 | comma-style: 2
|
17 | computed-property-spacing: [ 2, never ]
|
18 | consistent-this: [ 2, self ]
|
19 | consistent-return: 2
|
20 |
|
21 | curly: [ 2, 'multi-line' ]
|
22 | dot-notation: 2
|
23 | eol-last: 2
|
24 | eqeqeq: 2
|
25 | func-style: [ 2, declaration ]
|
26 |
|
27 |
|
28 | guard-for-in: 2
|
29 | handle-callback-err: 2
|
30 |
|
31 | indent: [ 2, 2, { VariableDeclarator: { var: 2, let: 2, const: 3 }, SwitchCase: 1 } ]
|
32 |
|
33 |
|
34 | keyword-spacing: 2
|
35 | linebreak-style: 2
|
36 | max-depth: [ 1, 6 ]
|
37 | max-nested-callbacks: [ 1, 4 ]
|
38 |
|
39 | max-len: [ 2, 120, 1000 ]
|
40 | new-cap: 2
|
41 | new-parens: 2
|
42 |
|
43 |
|
44 | no-alert: 2
|
45 | no-array-constructor: 2
|
46 |
|
47 |
|
48 | no-caller: 2
|
49 |
|
50 | no-catch-shadow: 2
|
51 | no-cond-assign: 2
|
52 | no-console: 1
|
53 | no-constant-condition: 2
|
54 |
|
55 | no-debugger: 2
|
56 | no-delete-var: 2
|
57 | no-div-regex: 2
|
58 | no-dupe-args: 2
|
59 | no-dupe-keys: 2
|
60 | no-duplicate-case: 2
|
61 | no-else-return: 2
|
62 |
|
63 |
|
64 | no-empty-character-class: 2
|
65 | no-empty-pattern: 2
|
66 | no-eq-null: 2
|
67 | no-eval: 2
|
68 | no-ex-assign: 2
|
69 | no-extend-native: 2
|
70 | no-extra-bind: 2
|
71 | no-extra-boolean-cast: 2
|
72 | no-extra-semi: 2
|
73 | no-fallthrough: 2
|
74 | no-floating-decimal: 2
|
75 | no-func-assign: 2
|
76 |
|
77 |
|
78 | no-implied-eval: 2
|
79 | no-inner-declarations: 2
|
80 | no-invalid-regexp: 2
|
81 | no-irregular-whitespace: 2
|
82 | no-iterator: 2
|
83 | no-label-var: 2
|
84 | no-labels: 2
|
85 | no-lone-blocks: 2
|
86 | no-lonely-if: 2
|
87 | no-loop-func: 2
|
88 | no-mixed-requires: 2
|
89 | no-mixed-spaces-and-tabs: 2
|
90 |
|
91 |
|
92 | no-negated-in-lhs: 2
|
93 |
|
94 |
|
95 | no-new: 2
|
96 | no-new-func: 2
|
97 | no-new-object: 2
|
98 | no-new-require: 2
|
99 | no-new-wrappers: 2
|
100 | no-obj-calls: 2
|
101 | no-octal: 2
|
102 | no-octal-escape: 2
|
103 | no-path-concat: 2
|
104 | no-proto: 2
|
105 | no-redeclare: 2
|
106 |
|
107 |
|
108 | no-return-assign: 2
|
109 | no-self-compare: 2
|
110 | no-sequences: 2
|
111 | no-shadow: 2
|
112 | no-shadow-restricted-names: 2
|
113 | no-sparse-arrays: 2
|
114 | no-trailing-spaces: 2
|
115 | no-undef: 2
|
116 | no-undef-init: 2
|
117 | no-undefined: 2
|
118 | no-unexpected-multiline: 2
|
119 | no-unreachable: 2
|
120 | no-unused-expressions: 2
|
121 | no-unused-vars: 2
|
122 | no-use-before-define: 2
|
123 | no-void: 2
|
124 | no-with: 2
|
125 | object-curly-spacing: [ 2, always, { "objectsInObjects": true, "arraysInObjects": true } ]
|
126 | operator-assignment: 1
|
127 |
|
128 |
|
129 | semi: 2
|
130 | semi-spacing: 2
|
131 | space-before-function-paren: [ 2, { "anonymous": "always", "named": "never" } ]
|
132 | space-in-parens: [ 2, never ]
|
133 | space-infix-ops: 2
|
134 | space-unary-ops: 2
|
135 |
|
136 |
|
137 | strict: [ 2, global ]
|
138 | quotes: [ 2, single, avoid-escape ]
|
139 | quote-props: [ 1, 'as-needed', { "keywords": true } ]
|
140 | radix: 2
|
141 | use-isnan: 2
|
142 | valid-typeof: 2
|
143 | yoda: [ 2, never, { "exceptRange": true } ]
|