-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
executable file
·42 lines (42 loc) · 983 Bytes
/
.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
40
41
42
{
"extends": ["airbnb"],
"globals": {
"window": true,
"document": true
},
"rules": {
"padded-blocks": [0, "never"],
"space-before-function-paren": ["error", "never"],
"import/prefer-default-export": "off",
"function-paren-newline": ["error", "consistent"],
"no-new": "off",
"no-underscore-dangle": "off",
"linebreak-style": 0,
"max-lines": [
"error",
{
"max": 100,
"skipBlankLines": true,
"skipComments": true
}
],
"max-len": [
"error",
{
"code": 80,
"ignoreStrings": true,
"ignoreUrls": true,
"ignoreRegExpLiterals": true
}
],
"prefer-destructuring": ["error", {"object": true, "array": false}],
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": true,
"optionalDependencies": true,
"peerDependencies": true
}
]
}
}