-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc
40 lines (40 loc) · 1.18 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
38
39
40
{
"plugins": ["@typescript-eslint"],
"env": {
"browser": true,
"es6": true,
"node": true,
"jest": true
},
"rules": {
"@typescript-eslint/semi": ["error"],
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/restrict-template-expressions": "off",
"@typescript-eslint/restrict-plus-operands": "off",
"@typescript-eslint/no-unsafe-member-access": "off",
"@typescript-eslint/no-explicit-any": [
"error",
{
"fixToUnknown": true,
"ignoreRestArgs": false
}
],
"@typescript-eslint/no-unused-vars": [
"error",
{ "argsIgnorePattern": "^_" }
],
"no-case-declarations": "off",
"linebreak-style": "off",
"@typescript-eslint/func-names": ["off"],
"func-names": ["off"],
"@typescript-eslint/space-before-function-paren": ["off"],
"space-before-function-paren": ["off"],
"no-multiple-empty-lines": ["error", { "max": 2 }]
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json"
},
"extends": ["airbnb-base", "airbnb-typescript/base", "prettier"]
}