forked from google/timesketch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
92 lines (90 loc) · 2.81 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
{
"extends": ["tslint:recommended", "codelyzer"],
"rulesDirectory": [
"node_modules/codelyzer",
"node_modules/tslint-origin-ordered-imports-rule/dist"
],
"rules": {
"max-line-length": {
"options": [150]
},
"indent": [true, "spaces", 4],
"semicolon": [true, "always"],
"quotemark": [true, "single", "avoid-escape"],
"only-arrow-functions": false,
"ordered-imports": false,
"trailing-comma": [true,
{"multiline": {
"typeLiterals": "ignore",
"objects": "always",
"arrays": "always",
"functions": "ignore",
"exports": "always"
}, "singleline": "never"}
],
"prefer-const": true,
"object-literal-shorthand": false,
"object-literal-sort-keys": false,
"one-variable-per-declaration": true,
"variable-name": [
true, "ban-keywords", "check-format", "allow-snake-case",
"allow-leading-underscore"
],
"prefer-for-of": true,
"object-literal-key-quotes": false,
"no-string-literal": false,
"triple-equals": false,
"space-before-function-paren": [true, {
"anonymous": "always", "named": "never", "asyncArrow": "always",
"method": "never", "constructor": "never"
}],
"whitespace": [
true,
"check-branch", "check-decl", "check-operator",
"check-separator", "check-rest-spread", "check-type", "check-typecast",
"check-type-operator", "check-preblock"
],
"no-empty": false,
"no-shadowed-variable": false,
"member-access": false,
"curly": [true, "ignore-same-line"],
"interface-name": [true, "never-prefix"],
"no-unused-variable": [true, {"ignore-pattern": "angular"}],
"member-ordering": false,
"interface-over-type-literal": false,
"angular-whitespace": [true, "check-interpolation", "check-pipe", "check-semicolon"],
"banana-in-box": true,
"templates-no-negated-async": true,
"directive-selector": [
true, "attribute", ["ts"], "camelCase"
],
"component-selector": [
"element", [
"ts-core", "ts-explore", "ts-sketch", "ts-story"
], "kebab-case"
],
"use-input-property-decorator": true,
"use-output-property-decorator": true,
"use-host-property-decorator": true,
"use-view-encapsulation": true,
"no-attribute-parameter-decorator": true,
"no-input-rename": true,
"no-output-rename": true,
"no-forward-ref": true,
"use-life-cycle-interface": true,
"use-pipe-transform-interface": true,
"pipe-naming": [true, "camelCase", "ts"],
"component-class-suffix": true,
"directive-class-suffix": true,
"templates-use-public": true,
"no-access-missing-member": true,
"invoke-injectable": true,
"template-to-ng-template": true,
"origin-ordered-imports": true
},
"jsRules": {
"max-line-length": {
"options": [120]
}
}
}