-
Notifications
You must be signed in to change notification settings - Fork 4
/
.eslintrc.json
33 lines (33 loc) · 1019 Bytes
/
.eslintrc.json
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
{
"root": true,
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": ["./tsconfig.json", "./packages/*/tsconfig.json"]
},
"plugins": ["@typescript-eslint"],
"ignorePatterns": ["build/**", "node_modules/**", ".eslintrc.json", "dist"],
"rules": {
// Note: disable the base rule as it can report incorrect errors
"no-unused-vars": "off",
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/ban-ts-ignore": "off",
"@typescript-eslint/interface-name-prefix": "off",
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-use-before-define": "off",
"@typescript-eslint/no-unused-vars": [
"warn",
{
"ignoreRestSiblings": true,
"args": "after-used"
}
],
"prefer-const": "warn"
},
"settings": {}
}