-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
31 lines (31 loc) · 1.09 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
{
"extends": "airbnb-base",
"rules": {
"comma-dangle": ["error", {
"arrays": "always-multiline",
"objects": "always-multiline"
}],
"arrow-body-style": 0,
"no-shadow": 0,
"indent": ["error", 4, { "SwitchCase": 1 }],
"global-require": 0,
"func-names": "off",
"no-underscore-dangle": "off",
"max-len": "off",
"no-bitwise": "off",
"no-param-reassign": ["warn", { "props": false }],
"padded-blocks": "off",
"no-use-before-define": "off",
"no-unused-vars": "warn",
"react/require-extension": "off",
"import/no-extraneous-dependencies": ["error", {"devDependencies": ["**/*.spec.js"]}],
"no-plusplus": "off",
"prefer-template": "off",
"consistent-return": "off",
"no-console": "off",
"no-restricted-syntax": ["error", "DebuggerStatement", "ForInStatement", "LabeledStatement", "WithStatement"],
"dot-notation": "off",
"import/no-dynamic-require": "off",
"prefer-promise-reject-errors": "off"
}
}