forked from DefinitelyTyped/DefinitelyTyped
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
31 lines (31 loc) · 891 Bytes
/
.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
{
"root": true,
"extends": [
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"warnOnUnsupportedTypeScriptVersion": false,
"project": ["./tsconfig.json"]
},
"plugins": [
"@typescript-eslint"
],
"rules": {
"dt-header": "error",
"export-just-namespace": "error",
"no-any-union": "error",
"no-bad-reference": "error",
"no-const-enum": "error",
"no-dead-reference": "error",
"no-declare-current-package": "error",
"no-import-default-of-export-equals": "error",
"no-outside-dependencies": "error",
"no-self-import": "error",
"no-single-element-tuple-type": "error",
"no-unnecessary-generics": "error",
"no-useless-files": "error",
"prefer-declare-function": "error",
"redundant-undefined": "error",
"trim-file": "error"
}
}