forked from DataDog/datadog-ci
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
67 lines (67 loc) · 2.22 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
{
"defaultSeverity": "error",
"extends": ["tslint:recommended", "tslint-config-prettier"],
"linterOptions": {
"exclude": ["dist"]
},
"jsRules": {},
"rules": {
"array-type": [true, "array"],
"arrow-return-shorthand": [true, "multiline"],
"callable-types": true,
"comment-format": [true, "check-space", "check-uppercase", "allow-trailing-lowercase"],
"curly": true,
"eofline": true,
"indent": [true, "spaces", 2],
"interface-name": [true, "never-prefix"],
"linebreak-style": [true, "LF"],
"lines-between-class-members": [true, 1],
"member-access": true,
"member-ordering": [true, {"order": "fields-first", "alphabetize": true}],
"newline-before-return": true,
"no-angle-bracket-type-assertion": true,
"no-boolean-literal-compare": true,
"no-consecutive-blank-lines": true,
"no-console": false,
"no-inferrable-types": true,
"no-internal-module": true,
"no-irregular-whitespace": true,
"no-null-keyword": true,
"no-return-await": true,
"no-string-literal": true,
"no-string-throw": true,
"no-trailing-whitespace": true,
"no-var-keyword": true,
"no-unnecessary-initializer": true,
"no-unnecessary-qualifier": true,
"no-unused-variable": true,
"number-literal-format": true,
"object-literal-key-quotes": [true, "as-needed"],
"object-literal-shorthand": true,
"object-literal-sort-keys": true,
"one-line": [true, "check-catch", "check-finally", "check-else", "check-open-brace", "check-whitespace"],
"ordered-imports": true,
"prefer-const": true,
"prefer-method-signature": true,
"prefer-object-spread": true,
"prefer-while": true,
"quotemark": [true, "single", "avoid-escape", "avoid-template", "jsx-double"],
"static-this": true,
"switch-final-break": true,
"trailing-comma": [
true,
{
"multiline": {
"objects": "always",
"arrays": "always",
"functions": "never",
"typeLiterals": "ignore"
},
"singleline": "never"
}
],
"variable-name": [true, "check-format", "allow-leading-underscore"],
"only-arrow-functions": true
},
"rulesDirectory": ["node_modules/tslint-lines-between-class-members"]
}