-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.eslintrc.js
More file actions
33 lines (30 loc) · 782 Bytes
/
.eslintrc.js
File metadata and controls
33 lines (30 loc) · 782 Bytes
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
module.exports = {
"extends": "airbnb",
"env": {
"node": true,
},
"plugins": [
"import",
],
"rules": {
"class-methods-use-this": "off",
"indent": ["warn", 4],
"key-spacing": ["error", {
"align": "value",
}],
"max-len": "off",
"no-cond-assign": ["error", "except-parens"],
"no-multi-spaces": ["error", {
"exceptions": {
"AssignmentExpression": true,
"ImportDeclaration": true,
"VariableDeclarator": true,
},
}],
"no-underscore-dangle": "off",
"no-use-before-define": ["error", {
"functions": false,
}],
"quotes": ["error", "double"],
}
};