forked from mart1ver/oressource
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
34 lines (34 loc) · 870 Bytes
/
.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
{
"parserOptions": {
"ecmaVersion": 10,
"sourceType": "script",
"ecmaFeatures": {
"jsx": true,
"impliedStrict": true
}
},
"rules": {
"strict": ["error", "safe"],
"semi": "error",
"no-cond-assign": ["error", "always"],
"indent": ["warn", 2],
"array-bracket-spacing": [ "warn", "always" ],
"one-var": [ "error", "never" ],
"prefer-const": "warn",
"no-var": "error",
"no-else-return": 0,
"prefer-numeric-literals": "error",
"no-useless-computed-key": "error",
"no-use-before-define": "error"
},
"env": {
"browser": true,
"jquery": true,
"es6": true
},
"globals": {
"moment": true,
"Morris": true
},
"extends": ["eslint:recommended", "airbnb"]
}