1 | env:
|
2 | browser: true
|
3 |
|
4 | rules:
|
5 |
|
6 | brace-style: [2, "stroustrup"]
|
7 | comma-style: [2, "last"]
|
8 | default-case: 2
|
9 | guard-for-in: 2
|
10 | no-console: 0
|
11 | no-floating-decimal: 2
|
12 | no-nested-ternary: 2
|
13 | no-undef: 2
|
14 | no-underscore-dangle: 0
|
15 | quotes: [2, "double"]
|
16 | radix: 2
|
17 | space-after-keywords: [2, "always"]
|
18 | indent: [2, 2, {"SwitchCase": 1}]
|
19 | space-before-blocks: 2
|
20 | space-before-function-paren: [2, { "anonymous": "always", "named": "never" }]
|
21 | spaced-comment: [2, "always", {exceptions: ["-"]}]
|
22 | wrap-iife: 2
|
23 |
|
24 | globals:
|
25 | process: true
|
26 | require: true
|
27 | module: true
|
28 | sinon: true
|
29 | console: true
|
30 | expect: true
|
31 | describe: true
|
32 | it: true
|
33 | afterEach: true
|
34 | beforeEach: true
|
35 | __dirname: true
|
36 | Buffer: true
|
37 | Git: true
|
38 | jQuery: true,
|
39 | global: true
|