forked from idiotWu/react-smooth-scrollbar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
39 lines (39 loc) · 1.08 KB
/
.eslintrc
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
{
"parser": "babel-eslint",
"ecmaFeatures": {
"arrowFunctions": true,
"blockBindings": true,
"classes": true,
"defaultParams": true,
"modules": true,
"objectLiteralShorthandMethods": true,
"objectLiteralShorthandProperties": true,
"restParams": true,
"spread": true,
"superInFunctions": true,
"templateStrings": true
},
"env": {
"browser": true,
"es6": true
},
"rules": {
"accessor-pairs": 1,
"curly": [1, "multi-line"],
"quotes": [1, "single"],
"new-cap": [2, {"newIsCap": true, "capIsNew": false}],
"no-mixed-spaces-and-tabs": [2, "smart-tabs"],
"no-var": 2,
"no-else-return": 2,
"semi": 1,
"no-unused-vars": 1,
"no-multiple-empty-lines": [1, {"max": 2}],
"no-underscore-dangle": 0,
"constructor-super": 2,
"no-this-before-super": 2,
"no-dupe-class-members": 2,
"object-shorthand": 1,
"prefer-arrow-callback": 1,
"prefer-spread": 1,
}
}