-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc
More file actions
25 lines (25 loc) · 693 Bytes
/
Copy path.eslintrc
File metadata and controls
25 lines (25 loc) · 693 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
{
"extends": ["airbnb-base"],
"env": {
"node": true,
},
"parserOptions": {
"sourceType": "module",
"allowImportExportEverywhere": true,
},
"rules": {
"arrow-parens": [2, "as-needed"],
"max-len": [2, 100, 2],
"consistent-return": [0],
"import/prefer-default-export": [1],
"indent": ["error", 2, { "MemberExpression": "off", "SwitchCase": 1 }],
"function-paren-newline": [0],
"no-console": ["error", { allow: ["warn", "error", "log"] }],
"space-before-function-paren": [0],
"object-curly-spacing": [2, "always", {
"objectsInObjects": false,
"arraysInObjects": false
}],
"object-curly-newline": [2, { "consistent": true }]
}
}