-
Notifications
You must be signed in to change notification settings - Fork 13
/
.eslintrc.json
39 lines (39 loc) · 1.15 KB
/
.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
34
35
36
37
38
39
{
"env": { "browser": true, "node": true, "es6": true },
"extends": [
"eslint:recommended",
"plugin:prettier/recommended",
"plugin:@typescript-eslint/recommended"
],
"plugins": [
"@typescript-eslint",
"import"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"sourceType": "module"
},
"rules": {
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unused-vars": [
"error",
{ "argsIgnorePattern": "^_" }
],
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/consistent-type-definitions": ["error", "type"],
"@typescript-eslint/explicit-module-boundary-types": "off",
"import/no-self-import": "error",
"import/no-cycle": "error",
"import/no-useless-path-segments": "error",
"import/no-relative-parent-imports": "error",
"import/first": "error",
"import/newline-after-import": "error",
"arrow-body-style": ["error", "as-needed"],
"sort-imports": ["error", {
"ignoreCase": true,
"ignoreDeclarationSort": true
}],
"no-undef": "off"
}
}