forked from AMPATH/ng2-amrs
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tslint.json
66 lines (66 loc) · 1.73 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
{
"extends": [
"tslint:recommended"
],
"rulesDirectory": [
"node_modules/codelyzer"
],
"rules": {
// Custom
"trailing-comma": [false, {"multiline": "always", "singleline": "never"}],
"interface-name": [false, "always-prefix"],
// Angular 2
"component-class-suffix": true,
// "component-selector": [true, "element", "my", "kebab-case"],
"directive-class-suffix": true,
// "directive-selector": [true, "attribute", "my", "camelCase"],
"import-destructuring-spacing": true,
"invoke-injectable": true,
"no-access-missing-member": true,
"no-attribute-parameter-decorator": true,
"no-forward-ref": false,
"no-input-rename": false,
"array-type": false,
"no-empty": false,
"no-var-requires": false,
"import-spacing": false,
"prefer-const": false,
"max-classes-per-file": [true, 6],
"no-output-rename": true,
"templates-use-public": true,
"use-host-property-decorator": true,
"use-input-property-decorator": true,
"use-life-cycle-interface": true,
"use-output-property-decorator": true,
"use-pipe-transform-interface": true,
// General
"no-console": [true,
"time",
"timeEnd",
"trace"
],
"max-line-length": [
true,
100
],
"no-string-literal": false,
"no-use-before-declare": true,
"object-literal-sort-keys": false,
"object-literal-key-quotes": false,
"object-literal-shorthand": false,
"ordered-imports": false,
"quotemark": [
true,
"single",
"avoid-escape"
],
"one-variable-per-declaration": false,
"variable-name": [
true,
"allow-leading-underscore",
"allow-pascal-case",
"ban-keywords",
"check-format"
]
}
}