1 | ---
|
2 | env:
|
3 | browser: true
|
4 | node: true
|
5 | es6: true
|
6 |
|
7 | globals:
|
8 | $: true
|
9 |
|
10 | rules:
|
11 | strict: [2, "function"]
|
12 | quotes: 0
|
13 | camelcase: 2
|
14 | indent: [2, 2]
|
15 | new-cap:
|
16 | - 2
|
17 | - {"newIsCap": true, "capIsNew": false}
|
18 | no-mixed-spaces-and-tabs: 2
|
19 | no-multiple-empty-lines: 2
|
20 | no-trailing-spaces: 2
|
21 | keyword-spacing:
|
22 | - 2
|
23 | - {"after": true }
|
24 | space-before-blocks: 2
|
25 | space-before-function-paren: 2
|
26 | space-infix-ops: 2
|
27 | brace-style: 2
|
28 | semi: 2
|
29 | block-scoped-var: 2
|
30 | consistent-return: 2
|
31 | curly: 2
|
32 | eqeqeq: 2
|
33 | guard-for-in: 2
|
34 | no-else-return: 2
|
35 | no-loop-func: 2
|
36 | vars-on-top: 2
|
37 | no-debugger: 2
|
38 | no-cond-assign: 2
|
39 | no-console: 2
|
40 | no-extra-semi: 2
|
41 | no-irregular-whitespace: 2
|
42 | dot-notation:
|
43 | - 2
|
44 | - {"allowPattern": "^[a-z]+(_[a-z]+)+$"}
|
45 |
|
46 | ecmaFeatures:
|
47 | blockBindings: true
|