-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
executable file
·41 lines (41 loc) · 1022 Bytes
/
.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
38
39
40
41
{
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"env": {
"es6": true
},
"extends": [
"airbnb/base",
"plugin:@typescript-eslint/recommended",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:import/typescript"
],
"settings": {
"import/parsers": {
"@typescript-eslint/parser": [".ts", ".d.ts"]
}
},
"rules": {
"max-len": "off",
"import/prefer-default-export": "off",
"import/extensions": [
"error",
"ignorePackages",
{
"js": "never",
"ts": "never"
}
],
"object-curly-newline": ["error", { "consistent": true }],
"no-use-before-define": "off",
"@typescript-eslint/no-unused-vars": ["error", { "argsIgnorePattern": "^_" }],
"arrow-parens": ["error", "as-needed"],
"no-confusing-arrow": "off",
"no-trailing-spaces": ["error", { "skipBlankLines": true }],
"no-console": ["error", { "allow": ["warn", "error", "info" ] }],
"no-bitwise": "off"
}
}