-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
73 lines (73 loc) · 2.2 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{
"extends": ["tslint-config-prettier", "tslint:latest"],
"linterOptions": {
"exclude": ["config/**/*.js", "register-ts-config-path.ts", "node_modules/**/*.ts", "coverage/lcov-report/*.js"]
},
"rulesDirectory": ["tslint-plugin-prettier"],
"rules": {
"prettier": false,
"semicolon": [true, "always", "ignore-bound-class-methods"],
"quotemark": [true, "single", "avoid-escape", "avoid-template"],
"curly": true,
"max-line-length": [true, 140],
"object-literal-sort-keys": false,
"no-console": true,
"ordered-imports": true,
"member-ordering": false,
"class-name": true,
"prefer-const": true,
"no-empty": false,
"no-return-await": true,
"no-duplicate-imports": false,
"no-var-keyword": true,
"interface-over-type-literal": false,
"no-implicit-dependencies": [true, "dev"],
"eofline": true,
"trailing-comma": [
true,
{
"multiline": {
"objects": "always",
"arrays": "always",
"functions": "ignore",
"typeLiterals": "always"
},
"singleline": "never"
}
],
"file-name-casing": [true, "kebab-case"],
"indent": [true, "spaces", 2],
"import-spacing": true,
"interface-name": [true, "always-prefix"],
"new-parens": true,
"no-angle-bracket-type-assertion": true,
"no-boolean-literal-compare": true,
"no-irregular-whitespace": true,
"object-literal-key-quotes": [true, "as-needed"],
"object-literal-shorthand": true,
"one-variable-per-declaration": [true, "ignore-for-loop"],
"prefer-template": [true, "allow-single-concat"],
"space-before-function-paren": [false, "never"],
"type-literal-delimiter": true,
"whitespace": [
true,
"check-branch",
"check-decl",
"check-operator",
"check-module",
"check-separator",
"check-rest-spread",
"check-type",
"check-typecast",
"check-type-operator",
"check-preblock"
],
"no-consecutive-blank-lines": false,
"variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore"]
},
"jsRules": {
"no-console": false,
"object-literal-sort-keys": false,
"ordered-imports": false
}
}