1 | {
|
2 | "env": {
|
3 | "browser": true,
|
4 | "node": true,
|
5 | "mocha": true
|
6 | },
|
7 | "extends": [
|
8 | "eslint-config-airbnb"
|
9 | ],
|
10 | "globals": {
|
11 | "chai": true,
|
12 | "XMLLite": true
|
13 | },
|
14 | "rules": {
|
15 | "comma-dangle": 0,
|
16 | "func-names": 0,
|
17 | "global-require": 1,
|
18 | "import/no-extraneous-dependencies": 0,
|
19 | "import/no-unresolved": 1,
|
20 | "key-spacing": 0,
|
21 | "new-cap": 1,
|
22 | "no-cond-assign": 1,
|
23 | "no-fallthrough": 1,
|
24 | "no-mixed-operators": 1,
|
25 | "no-new": 1,
|
26 | "no-param-reassign": 1,
|
27 | "no-restricted-syntax": 0,
|
28 | "no-underscore-dangle": 0,
|
29 | "object-curly-spacing": 0,
|
30 | "prefer-rest-params": 0,
|
31 | "strict": 0,
|
32 | "max-len": [
|
33 | 2,
|
34 | 120,
|
35 | 4,
|
36 | {
|
37 | "ignoreUrls": true
|
38 | }
|
39 | ],
|
40 | "id-length": [
|
41 | 2,
|
42 | {
|
43 | "min": 1
|
44 | }
|
45 | ]
|
46 | }
|
47 | }
|