-
Notifications
You must be signed in to change notification settings - Fork 1
/
tslint.json
56 lines (56 loc) · 2.16 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
{
"baseUrl": ".",
"paths": {
"@core": ["./src/core/index"],
"@core/*": ["./src/core/*"]
},
"extends": ["tslint-react"],
"rules": {
"jsx-wrap-multiline": true,
"jsx-self-close": true,
"jsx-alignment": false,
"jsx-no-multiline-js": false,
"jsx-boolean-value": ["never"],
"jsx-no-lambda": false,
"no-implicit-dependencies": false,
"no-duplicate-super": true,
"curly": [true, "ignore-same-line"],
"no-duplicate-switch-case": true,
"no-duplicate-variable": [true, "check-parameters"],
"no-eval": true,
// "no-floating-promises": true,
// "no-for-in-array": true,
"no-invalid-template-strings": true,
"no-invalid-this": [true, "check-function-in-method"],
"no-return-await": true,
"no-shadowed-variable": true,
// "no-string-literal": true,
"no-unsafe-finally": true,
"no-unused-expression": [true, "allow-fast-null-checks"],
// "no-use-before-declare": true,
"prefer-object-spread": true,
"triple-equals": true,
"typeof-compare": true,
"use-isnan": true,
// "deprecation": true,
"indent": [true, "spaces", 2],
"no-duplicate-imports": true,
// "trailing-comma": [true, {"multiline": "always", "singleline": "never"}],
"align": [true, "parameters", "statements"],
"array-type": [true, "array"],
// "arrow-parens": true,
// "class-name": true,
"comment-format": [true, "check-space", {"ignore-words": ["TODO", "HACK"]}],
"import-spacing": true,
"new-parens": true,
"interface-name": [true, "always-prefix"],
"no-angle-bracket-type-assertion": true,
"object-literal-key-quotes": [true, "as-needed"],
// "prefer-method-signature": true,
// "quotemark": [true, "single", "avoid-escape", "avoid-template"],
"semicolon": [true, "always", "ignore-interfaces", "ignore-bound-class-methods"],
"space-before-function-paren": [true, "never"],
"variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore", "allow-pascal-case"],
"whitespace": [true, "check-branch", "check-decl", "check-operator", "check-module", "check-separator", "check-rest-spread", "check-type", "check-typecast", "check-preblock"]
}
}