-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
52 lines (52 loc) · 1.59 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
{
"extends": "tslint-eslint-rules",
"rulesDirectory": ["./node_modules/tslint-eslint-rules/dist/rules"],
"rules": {
"one-variable-per-declaration": [true, "ignore-for-loop"],
"variable-name":[true, "check-format", "allow-pascal-case", "ban-keywords"],
"quotemark": [true, "single", "avoid-escape"],
"semicolon": [true, "always", "ignore-interfaces"],
"only-arrow-functions": [true, "allow-declarations", "allow-named-functions"],
"no-conditional-assignment": true,
"no-empty": true,
"no-constant-condition": true,
"no-trailing-whitespace": true,
"whitespace": [true, "check-branch", "check-decl", "check-module", "check-type"],
"no-duplicate-case": true,
"no-duplicate-variable": true,
"no-eval": true,
"no-shadowed-variable": true,
"brace-style": [
true,
"1tbs",
{
"allowSingleLine": true
}
],
"use-isnan": true,
"no-unsafe-finally": true,
"no-unused-expression": true,
"switch-default": true,
"no-consecutive-blank-lines": [true],
"linebreak-style": [false],
"max-file-line-count": [true, 500],
"max-line-length": [true, 80],
"indent": [true, "spaces"],
"comment-format": [true, "check-space"],
"class-name": true,
"no-console": true,
"no-var-keyword": true,
"arrow-parens": false,
"triple-equals": [true, "allow-null-check"],
"no-string-throw": true,
"prefer-const": true,
"space-before-function-paren": [
true,
{
"named": "never"
}
],
"object-literal-key-quotes": [true, "as-needed"],
"no-construct": true
}
}