-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
27 lines (27 loc) · 910 Bytes
/
.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
{
"extends": "airbnb-base",
"rules": {
"indent": ["error", "tab"],
"consistent-return": "off",
"no-shadow": ["error", { "allow": ["err", "done"] }],
"no-param-reassign": "off",
"func-names": "off",
"no-use-before-define": ["error", { "functions": false, "classes": true }],
"prefer-template": "off",
"import/no-extraneous-dependencies": ["error", {
"devDependencies": true,
"optionalDependencies": false
}],
"no-cond-assign": ["error", "except-parens"],
"no-plusplus": ["error", { "allowForLoopAfterthoughts": true }],
"no-continue": "off",
"no-unused-vars": ["error", { "argsIgnorePattern": "^_$" }],
"no-underscore-dangle": "off",
"no-console": "off",
"guard-for-in": "off",
"no-tabs": "off",
"no-nested-ternary": "off",
"no-restricted-syntax": ["error","LabeledStatement","WithStatement"],
"max-len": "off"
}
}