-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
62 lines (62 loc) · 1.55 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
"env": {
"browser": true,
"es6": true,
"node": true
},
"extends": "eslint:recommended",
"globals": {
"document": false,
"escape": false,
"navigator": false,
"unescape": false,
"window": false,
"describe": true,
"before": true,
"it": true,
"expect": true,
"sinon": true
},
"parser": "babel-eslint",
"parserOptions": {
"sourceType": "module"
},
"plugins": [],
"rules": {
"indent": ["error", 2],
"linebreak-style": ["error", "windows"],
"quotes": ["error", "single"],
"semi": ["error", "always"],
"no-extra-parens": ["error"],
"no-irregular-whitespace": ["error"],
"curly": ["error"],
"eqeqeq": ["error"],
"no-else-return": ["error"],
"no-global-assign": ["error"],
"no-lone-blocks": ["error"],
"no-multi-spaces": ["error"],
"no-redeclare": ["error"],
"no-self-assign": ["error"],
"no-unused-expressions": ["error"],
"no-useless-return": ["error"],
"no-undef": ["error"],
"no-unused-vars": ["error"],
"no-use-before-define": ["error"],
"array-bracket-spacing": ["error"],
"block-spacing": ["error"],
"brace-style": ["error"],
"comma-dangle": ["error", "always-multiline"],
"comma-spacing": ["error"],
"max-len": ["error", 80],
"no-mixed-spaces-and-tabs": ["error"],
"no-multiple-empty-lines": ["error"],
"no-tabs": ["error"],
"no-trailing-spaces": ["error"],
"object-curly-spacing": ["error", "always"],
"sort-keys": ["error"],
"no-const-assign": ["error"],
"no-duplicate-imports": ["error"],
"no-var": ["error"],
"prefer-const": ["error"]
}
}