-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtslint.json
44 lines (42 loc) · 1.33 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
44
{
"defaultSeverity": "error",
"extends": ["tslint:recommended", "tslint-react", "tslint-config-prettier"],
"jsRules": {},
"rules": {
"class-name": true,
"comment-format": [true, "check-space"],
"curly": false,
"interface-name": true,
"jsdoc-format": true,
"no-bitwise": false,
"no-debugger": true,
"no-duplicate-variable": true,
"no-eval": true,
"no-internal-module": true,
"no-shadowed-variable": true,
"no-switch-case-fall-through": true,
"no-unused-expression": true,
"no-string-literal": false,
"no-use-before-declare": false,
"no-var-keyword": true,
"radix": false,
// "one-line": [true, "check-open-brace", "check-whitespace", "check-catch"],
"ordered-imports": false,
"triple-equals": [true, "allow-null-check"],
"variable-name": [true, "ban-keywords"],
"eofline": true,
// https://github.com/prettier/prettier/issues/1080
// "quotemark": [true, "single", "jsx-single"],
// loosening
"interface-over-type-literal": false,
"object-literal-sort-keys": false,
"member-access": false,
"jsx-boolean-value": false,
"no-var-requires": false,
// we should probably re-enable this at some point
"jsx-no-lambda": false,
"no-empty-interface": false,
"one-variable-per-declaration": false,
"member-ordering": false
}
}