This repository has been archived by the owner on May 3, 2024. It is now read-only.
forked from garden-io/garden
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.base.json
59 lines (59 loc) · 1.62 KB
/
tslint.base.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
{
"extends": [
"tslint-config-prettier",
"tslint-plugin-prettier",
"tslint-no-unused"
],
"rulesDirectory": [
"node_modules/tslint-microsoft-contrib",
"tslint-no-focused-test"
],
"rules": {
"arrow-return-shorthand": true,
"curly": true,
"eofline": true,
"function-name": [
true,
{
"method-regex": "^[a-z][\\w\\d]+$",
"private-method-regex": "^[a-z][\\w\\d]+$",
"static-method-regex": "^[a-z][\\w\\d]+$",
"function-regex": "^[a-z][\\w\\d]+$"
}
],
"indent": [true, "spaces", 2],
"interface-name": [true, "never-prefix"],
"jsdoc-format": true,
"max-line-length": [true, 120],
"no-consecutive-blank-lines": true,
"no-console": false,
"no-debugger": true,
"no-eval": true,
"no-floating-promises": true,
"no-focused-test": true,
"no-invalid-this": true,
"no-null-keyword": false,
"no-shadowed-variable": true,
"no-switch-case-fall-through": true,
"no-trailing-whitespace": true,
"no-unused": true,
"no-var-keyword": true,
"number-literal-format": true,
"object-literal-key-quotes": [true, "consistent-as-needed"],
"object-literal-shorthand": true,
"one-variable-per-declaration": true,
"prefer-template": false,
"prettier": true,
"quotemark": [true, "double", "avoid-escape"],
"radix": true,
"semicolon": [true, "never"],
"variable-name": [
true,
"check-format",
"allow-leading-underscore",
"allow-pascal-case"
],
"triple-equals": true,
"whitespace": [true, "check-branch", "check-operator", "check-separator"]
}
}