-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtslint.json
43 lines (43 loc) · 1.02 KB
/
tslint.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
{
"defaultSeverity": "error",
"extends": ["tslint:recommended", "tslint-react"],
"linterOptions": {
"include": ["**/*.ts", "**/*.tsx"]
},
"jsRules": {},
"rules": {
"indent": [true, "tabs"],
"interface-name": true,
"interface-over-type-literal": false,
"jsx-no-lambda": false,
"jsx-no-multiline-js": false,
"jsx-space-before-trailing-slash": true,
"max-classes-per-file": false,
"member-ordering": false,
"no-consecutive-blank-lines": [true, 2],
"no-console": [true, "warning"],
"no-empty-interface": false,
"no-namespace": false,
"no-restricted-globals": false,
"no-shadowed-variable": false,
"object-literal-key-quotes": [true, "as-needed"],
"object-literal-sort-keys": false,
"ordered-imports": false,
"quotemark": false,
"semicolon": false,
"trailing-comma": [
true,
{
"multiline": {
"arrays": "always",
"objects": "always",
"functions": "always",
"imports": "always",
"exports": "always",
"typeLiterals": "ignore"
}
}
]
},
"rulesDirectory": []
}