forked from lydemann/Angular-demo-with-best-practices
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
107 lines (107 loc) · 2.66 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
"extends": [
"tslint:recommended",
"tslint-eslint-rules",
"tslint-config-prettier",
"tslint-jasmine-rules"
],
"rulesDirectory": [
"node_modules/codelyzer"
],
"rules": {
"deprecation": {
"severity": "warn"
},
"member-access": [true, "check-accessor"],
"member-ordering": [
true,
{
"order": "instance-sandwich"
}
],
"no-focused-tests": true,
"no-inferrable-types": [false, "ignore-params"],
"component-selector": [true, "element", "app", "kebab-case"],
"array-bracket-spacing": [true, "never"],
"object-curly-spacing": [true, "always"],
"max-classes-per-file": false,
"component-class-suffix": true,
"directive-class-suffix": true,
"directive-selector": [true, "attribute", "app", "camelCase"],
"import-destructuring-spacing": true,
"no-forward-ref": true,
"no-input-rename": true,
"no-output-on-prefix": true,
"no-output-rename": true,
"use-life-cycle-interface": true,
"use-pipe-transform-interface": true,
"no-non-null-assertion": true,
"no-switch-case-fall-through": true,
"no-empty": false,
"jsdoc-format": false,
"one-line": [true, "check-open-brace"],
"align": false,
"import-blacklist": [true, "rxjs/Rx"],
"interface-name": false,
"no-bitwise": true,
"no-conditional-assignment": true,
"no-console": true,
"no-empty-interface": false,
"no-string-literal": false,
"object-literal-sort-keys": false,
"only-arrow-functions": [true, "allow-named-functions"],
"ordered-imports": [
true,
{
"grouped-imports": true,
"groups": [{
"name": "app",
"match": "^@app",
"order": 20
},
{
"name": "shared-lib",
"match": "^@shared-lib",
"order": 20
},
{
"name": "relative_paths",
"match": "^[.][.]?",
"order": 20
},
{
"name": "scoped_paths",
"match": "^@",
"order": 10
},
{
"name": "absolute_paths",
"match": "^[a-zA-Z]",
"order": 10
},
{
"match": null,
"order": 10
}
]
}
],
"prefer-for-of": true,
"prefer-object-spread": true,
"quotemark": [true, "single", "avoid-escape"],
"trailing-comma": [
false,
{
"multiline": "always",
"singleline": "never"
}
],
"variable-name": [
true,
"allow-leading-underscore",
"allow-pascal-case",
"ban-keywords",
"check-format"
]
}
}