-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
50 lines (50 loc) · 1.39 KB
/
index.js
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
43
44
45
46
47
48
49
50
module.exports = {
"root": true,
"env": {
"node": true,
"es6": true
},
"extends": [
"airbnb"
],
"parserOptions": {
"ecmaVersion": 6
},
"settings": {
"import/resolver": {
"webpack": {
"config": "build/index.js"
}
}
},
"rules": {
"arrow-parens": [2, "as-needed"],
"indent": [2, 4, {"SwitchCase": 1}],
"comma-dangle": [2, "never"],
"no-multi-spaces": [2, {
"exceptions": {
"VariableDeclarator": true,
"ImportDeclaration": true
}
}],
"space-before-function-paren": [2, "never"],
"space-unary-ops": [1, { "words": true, "nonwords": false }],
"func-names": 0,
"max-len": 0,
"no-with": 2,
"no-bitwise": 0,
"no-multiple-empty-lines": [2, {"max": 1}],
"one-var": [2, "never"],
"brace-style": [2, "1tbs", {"allowSingleLine": false}],
"curly": 2,
"lines-around-comment": [2, { "beforeBlockComment": true, "beforeLineComment": true, "allowBlockStart": true }],
"linebreak-style": 2,
"new-cap": [2, {
"newIsCap": true,
"capIsNewExceptions": []
}]
},
"ecmaFeatures": {
"modules": true
}
};