-
Notifications
You must be signed in to change notification settings - Fork 109
/
tslint.json
54 lines (52 loc) · 1.58 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
45
46
47
48
49
50
51
52
53
54
{
"defaultSeverity": "error",
"extends": [
"tslint:recommended",
"tslint-eslint-rules",
"tslint-react",
"tslint-config-airbnb"
],
"jsRules": {},
"rules": {
"one-line": false,
"indent": [true, "spaces"],
"ter-indent": [true, 4],
"object-literal-sort-keys": false,
"ordered-imports": false,
"import-name": false,
"interface-name": false,
"space-in-parens": false,
"no-unused-variable": true,
"no-console": [true, "log"],
"semicolon": true,
"object-shorthand-properties-first": false,
"prefer-array-literal": false,
"variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore", "allow-pascal-case"],
"no-shadowed-variable": [
true,
{
"class": true,
"enum": true,
"function": true,
"interface": false,
"namespace": true,
"typeAlias": true,
"typeParameter": true,
"temporalDeadZone": false
}
],
"jsx-alignment": true,
"jsx-boolean-value": [true, "never"],
"jsx-equals-spacing": [true, "never"],
"jsx-curly-spacing": [false, "never"],
"jsx-key": true,
"jsx-no-bind": "warning",
"jsx-no-lambda": true,
"jsx-no-multiline-js": false,
"jsx-no-string-ref": true,
"jsx-self-close": true,
"jsx-wrap-multiline": true,
"brace-style": [true, "stroustrup"]
},
"rulesDirectory": []
}