-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
29 lines (29 loc) · 875 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
{
"root": true,
"parser": "@typescript-eslint/parser",
"extends": [
// add more generic rulesets here, such as:
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"rules": {
// override/add rules settings here, such as:
// 'vue/no-unused-vars': 'error',
"indent": ["off"],
"no-tabs": "error",
"semi": "warn",
"@typescript-eslint/no-explicit-any": ["error", {
"ignoreRestArgs": true
}],
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": [
"warn", // or "error"
{
"argsIgnorePattern": "^_",
"varsIgnorePattern": "^_",
"caughtErrorsIgnorePattern": "^_"
}
]
},
"ignorePatterns": ["node_modules", "build", "dist", "public"]
}