-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
41 lines (41 loc) · 863 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
{
"env": {
"es6": true,
"browser": true,
"mocha": true
},
"extends": ["airbnb-base"],
"plugins": [
"babel",
"import"
],
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"rules": {
"linebreak-style": "off",
"arrow-parens": "off",
"object-curly-newline": "off",
"no-mixed-operators": "off",
"arrow-body-style": "off",
"function-paren-newline": "off",
"no-plusplus": "off",
"space-before-function-paren": 0,
"max-len": [
"error",
100,
2,
{
"ignoreUrls": true
}
],
"no-console": "error",
"no-alert": "error",
"radix": "off",
"prefer-destructuring": "off",
"no-param-reassign": 0, // input positionStart starts at 1, array index at 0 [++index],
"no-bitwise": 0 // i like it
}
}