-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
26 lines (26 loc) · 815 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
{
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "unused-imports", "simple-import-sort", "import"],
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
"env": {
"node": true
},
"rules": {
"import/first": "error",
"import/newline-after-import": "error",
"import/no-duplicates": "error",
"@typescript-eslint/consistent-type-imports": [
"error",
{
"fixStyle": "inline-type-imports"
}
],
"simple-import-sort/imports": "warn",
"simple-import-sort/exports": "warn",
"@typescript-eslint/no-empty-interface": "off",
"@typescript-eslint/no-explicit-any": "off",
"unused-imports/no-unused-imports": "warn",
"no-constant-condition": ["error", { "checkLoops": false }]
}
}