forked from davelnewton/node-BinaryFormat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
64 lines (64 loc) · 1.42 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
{
"extends": "eslint-config-airbnb",
"parser": "babel-eslint",
"plugins": [
"babel"
],
"rules": {
"arrow-parens": [2, "as-needed", {
"requireForBlockBody": false
}],
"implicit-arrow-linebreak": 0,
"import/extensions": 0,
"import/no-extraneous-dependencies": 0,
"import/no-unresolved": [2, {
"ignore": ["electron", "~/*"]
}],
"key-spacing": [2, {
"beforeColon": false,
"afterColon": true,
"mode": "minimum",
"align": "value"
}],
"linebreak-style": 0,
"no-continue": 0,
"no-extra-semi": 0,
"no-multi-spaces": ["error", {
"ignoreEOLComments": true,
"exceptions": {
"Property": true
}
}],
"no-plusplus": ["error", {
"allowForLoopAfterthoughts": true
}],
"no-unused-vars": ["error", {
"argsIgnorePattern": "^_",
"varsIgnorePattern": "^_"
}],
"object-curly-newline": ["error", {
"ObjectExpression": {
"multiline": true
},
"ObjectPattern": {
"multiline": true
},
"ImportDeclaration": {
"multiline": true
},
"ExportDeclaration": {
"multiline": true
}
}],
"operator-linebreak": ["error", "after", {
"overrides": {
"=": "after"
}
}],
"react/jsx-filename-extension": [1, {
"extensions": [".js", ".jsx"]
}],
"react/prefer-stateless-function": 0,
"semi": 0
}
}