-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.json
42 lines (42 loc) · 1.46 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
{
"extends": ["eslint:recommended", "prettier", "prettier/standard"],
"parser": "typescript-eslint-parser",
"plugins": ["typescript"],
"env": {
"node": true,
"es6": true
},
"parserOptions": {
"sourceType": "module",
"ecmaFeatures": {
"modules": true
}
},
"rules": {
"no-console": 0,
"typescript/adjacent-overload-signatures": "error",
"typescript/class-name-casing": "error",
"typescript/explicit-function-return-type": "error",
"typescript/explicit-member-accessibility": "error",
"typescript/generic-type-naming": "error",
"typescript/interface-name-prefix": "error",
"typescript/member-delimiter-style": "error",
"typescript/member-naming": "error",
"typescript/member-ordering": "error",
"typescript/no-angle-bracket-type-assertion": "error",
"typescript/no-array-constructor": "error",
"typescript/no-empty-interface": "error",
"typescript/no-explicit-any": "error",
"typescript/no-inferrable-types": "error",
"typescript/no-namespace": "error",
"typescript/no-non-null-assertion": "error",
"typescript/no-parameter-properties": "error",
"typescript/no-triple-slash-reference": "error",
"typescript/no-type-alias": "error",
"typescript/no-unused-vars": "error",
"typescript/no-use-before-define": "error",
"typescript/no-var-requires": "error",
"typescript/prefer-namespace-keyword": "error",
"typescript/type-annotation-spacing": "error"
}
}