-
Notifications
You must be signed in to change notification settings - Fork 3
/
.eslintrc.json
44 lines (43 loc) · 1.06 KB
/
.eslintrc.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
"extends": ["eslint:recommended", "plugin:mocha/recommended", "airbnb"],
"env": {
"browser": true,
"es6": true,
"jquery": true,
"node": true,
"mocha": true
},
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"rules": {
"arrow-body-style": [2, "as-needed"],
"class-methods-use-this": "off",
"eqeqeq": 2,
"no-console": 1,
"no-param-reassign": "off",
"no-undef-init": 2,
"no-undefined": 2,
"no-unused-vars": [1, {
"vars": "all",
"args": "none"
}],
"no-use-before-define": "off",
"no-useless-constructor": 2,
"no-underscore-dangle": "off",
"semi": [2, "always"],
"comma-dangle": [1, "always-multiline"],
"import/no-unresolved": "off",
"import/extensions": "off",
"import/no-extraneous-dependencies": "off",
"import/prefer-default-export": 1,
"no-unused-expressions": 0,
"chai-friendly/no-unused-expressions": 2
},
"globals": {
"logger": true
},
"plugins": ["chai-expect", "chai-friendly", "mocha"]
}