-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtslint.json
39 lines (39 loc) · 1.44 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
{
"defaultSeverity": "error",
"extends": ["tslint:recommended"],
"jsRules": {
"arrow-parens": [true, "ban-single-arg-parens"],
"encoding": true,
"indent": [true, "spaces", 2],
"linebreak-style": [true, "LF"],
"max-classes-per-file": [true, 1],
"max-line-length": [true, 140],
"no-duplicate-variable": true,
"no-unused-expression": false,
"object-literal-key-quotes": [true, "as-needed"],
"prefer-const": [true, { "destructuring": "all" }],
"quotemark": [true, "single", "avoid-escape"],
"trailing-comma": [true, { "multiline": "never", "singleline": "never" }],
"variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore"]
},
"rules": {
"arrow-parens": [true, "ban-single-arg-parens"],
"encoding": true,
"indent": [true, "spaces", 2],
"interface-name": [true, "never-prefix"],
"linebreak-style": [true, "LF"],
"max-classes-per-file": [true, 1],
"max-line-length": [true, 140],
"member-access": [true, "no-public"],
"no-duplicate-variable": true,
"no-shadowed-variable": false,
"no-unused-expression": false,
"object-literal-key-quotes": [true, "as-needed"],
"object-literal-sort-keys": false,
"prefer-const": [true, { "destructuring": "all" }],
"quotemark": [true, "single", "avoid-escape"],
"trailing-comma": [true, { "multiline": "never", "singleline": "never" }],
"variable-name": false
},
"rulesDirectory": []
}