-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
.eslintrc.json
46 lines (46 loc) · 1.22 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
40
41
42
43
44
45
46
{
"root": true,
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json",
"ecmaVersion": "latest",
"sourceType": "script"
},
"plugins": ["@typescript-eslint", "import/typescript"],
"ignorePatterns": ["**/dist/*", "**/typing/*", "**/*.wasm"],
"rules": {
"@typescript-eslint/ban-ts-comment": "error",
"@typescript-eslint/ban-types": "error",
"@typescript-eslint/await-thenable": "error",
"@typescript-eslint/no-for-in-array": "error",
"@typescript-eslint/no-extraneous-class": "error",
"@typescript-eslint/no-unnecessary-condition": "error",
"@typescript-eslint/array-type": "error",
"capitalized-comments": "error",
"@typescript-eslint/non-nullable-type-assertion-style": "error",
"@typescript-eslint/no-unused-vars": "error",
"import/order": [
"error",
{
"groups": [
"builtin",
"external",
"internal",
"index",
"sibling",
"parent"
],
"alphabetize": {
"order": "asc"
}
}
],
"import/no-relative-parent-imports": "error"
},
"settings": {
"import/resolver": {
"typescript": true,
"node": true
}
}
}