-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtslint.json
More file actions
31 lines (31 loc) · 1.14 KB
/
tslint.json
File metadata and controls
31 lines (31 loc) · 1.14 KB
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
{
"defaultSeverity": "error",
"extends": ["tslint:latest", "tslint-config-prettier"],
"jsRules": {},
"rules": {
"trailing-comma": [true, { "multiline": "never", "singleline": "never" }],
"curly": [true, "as-needed"],
"semicolon": [true, "always", "ignore-interfaces"],
"max-line-length": [true, 120],
"ordered-imports": true,
"object-literal-sort-keys": false,
"eofline": true,
"no-duplicate-imports": true,
"no-require-imports": true,
"prefer-const": true,
"prefer-readonly": true,
"arrow-parens": [true, "ban-single-arg-parens"],
"arrow-return-shorthand": [true, "multiline"],
"class-name": true,
"interface-over-type-literal": true,
"no-boolean-literal-compare": true,
"no-consecutive-blank-lines": true,
"no-irregular-whitespace": true,
"no-trailing-whitespace": true,
"no-unnecessary-initializer": true,
"object-literal-key-quotes": [true, "as-needed"],
"object-literal-shorthand": true,
"variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore"]
},
"rulesDirectory": []
}