-
Notifications
You must be signed in to change notification settings - Fork 46
/
tslint.json
34 lines (34 loc) · 1.34 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
{
"extends": [
"tslint:recommended",
"tslint-eslint-rules"
],
"rules": {
"arrow-parens": [true, "ban-single-arg-parens"],
"block-spacing": [true, "always"],
"brace-style": [true, "1tbs", { "allowSingleLine": true }],
"curly": [true, "ignore-same-line"],
"eofline": true,
"interface-name": [true, "never-prefix"],
"linebreak-style": [true, "LF"],
"max-classes-per-file": false,
"max-line-length": false,
"member-ordering": [true, { "order": ["static-field", "instance-field", "constructor", "static-method", "instance-method"] }],
"no-bitwise": false,
"no-console": true,
"no-empty-interface": false,
"no-floating-promises": true,
"no-trailing-whitespace": true,
"object-literal-shorthand": false,
"object-literal-sort-keys": false,
"ordered-imports": [true, { "import-sources-order": "any", "named-imports-order": "any" }],
"prefer-const": true,
"quotemark": [true, "single"],
"semicolon": [true, "always"],
"ter-indent": [true, 4, { "SwitchCase": true }],
"ter-no-irregular-whitespace": true,
"trailing-comma": [true, "never"],
"triple-equals": true,
"variable-name": [true, "allow-leading-underscore", "allow-pascal-case"]
}
}