-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc
More file actions
45 lines (45 loc) · 1022 Bytes
/
Copy path.eslintrc
File metadata and controls
45 lines (45 loc) · 1022 Bytes
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
{
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 9,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true,
"experimentalObjectRestSpread": true
}
},
"env": {
"browser": true,
"node": true,
"es6": true
},
"globals": {
"cl": true,
"PRODUCTION": true,
"DEVELOPMENT": true,
"module": true
},
"rules": {
"class-methods-use-this": [0],
"global-require": [0],
"indent": ["error", 4, { "SwitchCase": 1 }],
"semi": ["error", "always"],
"space-before-function-paren": [
"error",
{
"anonymous": "never",
"named": "never",
"asyncArrow": "ignore"
}
],
"no-console": [0],
"no-extra-semi": ["error"],
"no-plusplus": ["error", { "allowForLoopAfterthoughts": true }],
"no-shadow": [0],
"no-trailing-spaces": ["error"],
"no-unused-vars": [2, { "varsIgnorePattern": "^_" }],
"wrap-iife": [2, "inside"]
},
"extends": ["eslint:recommended"],
"plugins": []
}