-
Notifications
You must be signed in to change notification settings - Fork 213
/
.eslintrc
29 lines (29 loc) · 666 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
{
"parser": "babel-eslint",
"extends": "eslint:recommended",
"parserOptions": {
"ecmafeatures": {
"modules": true
}
},
"env": {
// I write for browser
"browser": true,
// in CommonJS
"node": true
},
"plugins": [
],
"globals": { "Promise": true },
"rules": {
"strict": 0,
"camelcase": [2, {"properties": "never"}],
"quotes": [2, "single", "avoid-escape"],
"no-underscore-dangle": 0,
"no-useless-escape": 0,
"complexity": [2, { "max": 35 }],
"no-use-before-define": [0, { "functions": false }],
"no-unused-vars": [2, { "argsIgnorePattern": "^_" }],
"no-prototype-builtins": 0
}
}