-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtslint.json
55 lines (53 loc) · 1.54 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
55
{
"defaultSeverity": "error",
"extends": [
"tslint:recommended",
"tslint-react"
],
"jsRules": {},
"rules": {
"quotemark": [true, "single", "avoid-escape", "avoid-template"],
"ordered-imports": false,
"semicolon": [true, "never"],
"no-consecutive-blank-lines": [true, 2],
"jsx-boolean-value": false,
"trailing-comma": [true, {
"multiline": {
"objects": "always",
"arrays": "always",
"functions": "always",
"typeLiterals": "never"
}
}],
"object-literal-sort-keys": false,
"object-literal-key-quotes": [false, "as-needed"],
"arrow-parens": [true, "ban-single-arg-parens"],
"no-console": false,
"max-classes-per-file": false,
"interface-over-type-literal": false,
"only-arrow-functions": false,
"no-shadowed-variable": false,
"interface-name": false,
"no-empty-interface": false,
"variable-name": [ true,
"check-format",
"allow-pascal-case",
"allow-leading-underscore",
"allow-trailing-underscore"
],
"no-string-throw": false,
"array-type": false,
"no-string-literal": false,
"curly": false,
"jsx-no-lambda": false,
"prefer-for-of": false,
"indent": [true, "spaces", 4],
"member-access": false,
"no-unused-variable": [true, { "ignore-pattern": "^React$" }],
"jsx-no-multiline-js": false,
"jsx-wrap-multiline": false,
"ban-types": [true, ["Object", "Use {} instead."], ["String", "Use 'string' instead"]],
"member-ordering": false
},
"rulesDirectory": []
}