-
Notifications
You must be signed in to change notification settings - Fork 3
/
tslint.json
executable file
·46 lines (46 loc) · 1.21 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
{
"defaultSeverity": "error",
"extends": ["tslint:recommended"],
"jsRules": {
"no-console": false,
"object-literal-sort-keys": [false, "match-declaration-order"]
},
"rules": {
"array-type": [true, "array-simple"],
"no-floating-promises": true,
"quotemark": false,
"no-unused-expression": false,
"forin": false,
"interface-name": [false, "never-prefix"],
"variable-name": [
true,
"check-format",
"allow-leading-underscore",
"allow-pascal-case"
],
"object-literal-sort-keys": [false, "match-declaration-order"],
"max-classes-per-file": false,
"no-console": true,
"ordered-imports": [
false,
{
"import-sources-order": "lowercase-last",
"named-imports-order": "lowercase-first"
}
],
"max-line-length": [
true,
{
"limit": 120,
"ignore-pattern": "^import [^,]+ from |^export | implements "
}
],
"semicolon": [true, "always", "strict-bound-class-methods"],
"trailing-comma": false,
"arrow-parens": false,
"no-implicit-dependencies": [true, "dev"],
"whitespace": false,
"object-literal-key-quotes": [true, "as-needed"]
},
"rulesDirectory": []
}