-
Notifications
You must be signed in to change notification settings - Fork 57
/
tslint.json
34 lines (34 loc) · 1020 Bytes
/
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
{
"defaultSeverity": "error",
"extends": ["tslint:recommended", "tslint-react", "tslint-config-prettier"],
"rules": {
"interface-name": [true, "never-prefix"],
"no-console": { "severity": "warning" },
"member-access": [true, "no-public"],
"no-unused-expression": [true, "allow-fast-null-checks"],
"object-literal-sort-keys": false,
"ordered-imports": false,
"unified-signatures": false,
"curly": true,
"jsx-key": true,
"jsx-no-lambda": false,
"jsx-boolean-value": "never",
"prefer-const": true,
"arrow-return-shorthand": [true, "multiline"],
"no-duplicate-super": true,
"no-duplicate-imports": true,
"no-duplicate-switch-case": true,
"no-duplicate-variable": true,
"no-var-keyword": true,
"triple-equals": true,
"use-isnan": true,
"no-debugger": true,
"radix": true,
"prefer-object-spread": true,
"no-boolean-literal-compare": true
},
"linterOptions": {
"exclude": ["node_modules/**/*"]
},
"jsRules": {}
}