This repository has been archived by the owner on Feb 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
executable file
·76 lines (76 loc) · 1.96 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
{
"env": {
"es2017": true,
"jest": true,
"node": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"plugin:import/recommended",
"plugin:import/typescript",
"plugin:jest/all",
"plugin:prettier/recommended",
"prettier",
"prettier/@typescript-eslint"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"globalReturn": true,
"impliedStrict": true,
"jsx": false
},
"ecmaVersion": 2017,
"project": "tsconfig.json",
"sourceType": "module"
},
"plugins": [
"@typescript-eslint",
"sort-class-members"
],
"root": true,
"rules": {
"@typescript-eslint/ban-types": "off",
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/no-unsafe-call": "off",
"@typescript-eslint/no-unsafe-member-access": "off",
"@typescript-eslint/no-unsafe-return": "off",
"@typescript-eslint/restrict-template-expressions": "off",
"jest/lowercase-name": ["error", {"ignore": ["describe"]}],
"jest/no-hooks": "off",
"sort-class-members/sort-class-members": [2, {
"order": [
"[static-properties]",
"[static-methods]",
"[properties]",
"[accessor-pairs]",
"[getters]",
"[setters]",
"[conventional-private-properties]",
"constructor",
"[arrow-function-properties]",
"[methods]",
"[async-methods]",
"[conventional-private-methods]",
"[everything-else]"
]
}],
"sort-imports": "error",
"sort-keys": "error",
"sort-vars": "error"
},
"settings": {
"import/resolver": {
"typescript": {
"project": ["apps/*/tsconfig.app.json", "libs/*/tsconfig.lib.json"]
}
}
}
}