-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
29 lines (29 loc) · 917 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",
"plugins": ["@typescript-eslint", "sort-imports-es6-autofix"],
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module",
"project": "./tsconfig.json"
},
"extends": [
"plugin:@typescript-eslint/recommended",
"prettier",
"plugin:prettier/recommended",
"plugin:@typescript-eslint/recommended-type-checked"
],
"rules": {
"sort-imports-es6-autofix/sort-imports-es6": [
"error",
{
"ignoreCase": false,
"ignoreMemberSort": false,
"memberSyntaxSortOrder": ["none", "all", "single", "multiple"]
}
],
"@typescript-eslint/switch-exhaustiveness-check": "error",
"@typescript-eslint/no-explicit-any": "warn",
"@typescript-eslint/no-unused-vars": "warn"
}
}