-
Notifications
You must be signed in to change notification settings - Fork 10
/
.eslintrc
41 lines (41 loc) · 1.2 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
41
{
"root": true,
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": ["./tsconfig.json"]
},
"plugins": ["@typescript-eslint", "prettier"],
"extends": [
"recommended/esnext",
"standard-with-typescript",
"prettier",
"prettier/@typescript-eslint",
"prettier/standard"
],
"rules": {
"no-param-reassign": "warn",
"no-shadow": "error",
"prettier/prettier": 0,
"indent": "off",
"no-alert": "off",
"@typescript-eslint/ban-types": ["off", { "types": { "null": null } }],
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-non-null-assertion": "warn",
"@typescript-eslint/ban-ts-comment": "error",
"@typescript-eslint/switch-exhaustiveness-check": "error",
"@typescript-eslint/consistent-type-definitions": ["error", "type"],
"@typescript-eslint/space-before-function-paren": "off",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/strict-boolean-expressions": "off",
"@typescript-eslint/naming-convention": "off",
"@typescript-eslint/restrict-template-expressions": "off",
"@typescript-eslint/no-floating-promises": "off"
},
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".jsx", ".ts", ".tsx"]
}
}
}
}