-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
38 lines (37 loc) · 1.13 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
32
33
34
35
36
37
{
"root": true,
"parser": "babel-eslint",
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"plugins": [],
"rules": {
"no-param-reassign": ["error", { "props": false }],
"prefer-arrow/prefer-arrow-functions": [
"error",
{
"disallowPrototype": true,
"singleReturnOnly": false
}
],
"prefer-arrow-callback": ["error", { "allowNamedFunctions": true }],
"func-style": ["error", "expression", { "allowArrowFunctions": true }],
"import/no-extraneous-dependencies": ["error", { "devDependencies": true }],
"import/no-unresolved": ["error", { "caseSensitive": true }],
"import/no-dynamic-require": "off",
"import/order": "off",
"import/extensions": "off",
"linebreak-style": "off",
"max-len": ["error", { "code": 150 }],
"eol-last": "off",
"comma-dangle": "off",
"object-curly-newline": "off",
"global-require": "off",
"arrow-parens": ["error", "as-needed"],
"no-confusing-arrow": "off",
"implicit-arrow-linebreak": "off",
"no-bitwise": ["error", { "allow": ["&"] }],
"no-plusplus": "off"
}
}