-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy path.eslintrc.json
More file actions
25 lines (25 loc) · 935 Bytes
/
.eslintrc.json
File metadata and controls
25 lines (25 loc) · 935 Bytes
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
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json"
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"prettier",
"prettier/@typescript-eslint"
],
"plugins": ["@typescript-eslint"],
"rules": {
"eqeqeq": ["error", "always"],
"no-console": ["error", {"allow": ["warn", "error", "info"]}],
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-empty-interface": "off",
"@typescript-eslint/no-explicit-any": ["error", {"fixToUnknown": true}],
"@typescript-eslint/camelcase": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-unsafe-call": "off"
}
}