This repository was archived by the owner on Dec 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 54
/
Copy path.eslintrc
70 lines (67 loc) · 1.63 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
65
66
67
68
69
70
{
"env": {
"node": true
},
"extends": [
"airbnb-base",
"./.eslintrc-es6"
],
"parserOptions": {
"sourceType": "script"
},
"rules": {
"curly": ["error", "all"],
"no-undefined": "error",
"strict": ["error", "global"],
"comma-dangle": ["error", "always-multiline"],
"no-mixed-spaces-and-tabs": ["error", "smart-tabs"],
"no-empty": "off",
"func-style": ["error", "expression"],
"keyword-spacing": ["error", {
"overrides": {
"function": {
"after": false
}
}
}],
"no-multiple-empty-lines": "off",
"max-len": ["error", 80],
"max-lines": ["error", 1000],
"padding-line-between-statements": ["error", {
"blankLine": "always",
"prev": "*",
"next": "export"
}, {
"blankLine": "always",
"prev": "directive",
"next": "*"
}],
"consistent-this": ["error", "self"],
"space-before-function-paren": ["error", "never"],
"valid-jsdoc": "error",
"func-names": "off",
"consistent-return": "off",
"no-console": "off",
"indent": ["error", 2, {
"MemberExpression": 0,
"CallExpression": {
"arguments": "off"
},
"FunctionExpression": {
"parameters": "off"
}
}],
"function-paren-newline": "off",
"one-var": "off",
"padded-blocks": "off",
"global-require": "off",
"no-underscore-dangle": "off",
"vars-on-top": "off",
"no-param-reassign": "off",
"one-var-declaration-per-line": "off",
"no-return-assign": "off",
"no-mixed-operators": "off",
"brace-style": "off",
"wrap-iife": ["error", "inside"]
}
}