-
Notifications
You must be signed in to change notification settings - Fork 18
/
.eslintrc.json
35 lines (35 loc) Β· 1.04 KB
/
.eslintrc.json
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
{
"env": {
"node": true
},
"extends": [
"airbnb-base"
],
"parserOptions": {
"ecmaVersion": 12
},
"rules": {
"comma-dangle": ["error", "only-multiline"],
"default-case": "off",
"func-names": ["error", "never"],
"global-require": "off",
"import/no-extraneous-dependencies": ["error", {"devDependencies": true}],
"import/no-unresolved": ["error", { "ignore": ["posix"], "commonjs": true, "caseSensitive": true }],
"no-bitwise": "off",
"no-console": "off",
"no-new": "off",
"no-param-reassign": "off",
"no-underscore-dangle": "off",
"no-unused-vars": ["error", { "argsIgnorePattern": "^_", "varsIgnorePattern": "^_" }],
"object-curly-newline": ["error", {
"ObjectExpression": { "multiline": true, "minProperties": 4 },
"ExportDeclaration": { "multiline": true, "minProperties": 4 }
}]
},
"overrides": [
{
"files": ["*_test.js"],
"rules": { "no-unused-expressions": "off" }
}
]
}