This repository has been archived by the owner on Dec 9, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
tslint.json
executable file
·45 lines (45 loc) · 1.65 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
{
"extends": ["tslint:latest", "tslint-react"],
"rules": {
"arrow-parens": true,
"arrow-return-shorthand": [true],
"comment-format": [true],
"curly": true,
"import-blacklist": [true, "rxjs"],
"interface-over-type-literal": true,
"jsx-no-multiline-js": false,
"max-line-length": [false],
"member-access": true,
"member-ordering": [true, {"order": "fields-first"}],
"newline-before-return": true,
"no-any": false,
"no-bitwise": true,
"no-conditional-assignment": true,
"no-console": [true, "log"],
"no-duplicate-variable": true,
"no-empty-interface": false,
"no-inferrable-types": [false],
"no-invalid-this": [true, "check-function-in-method"],
"no-null-keyword": false,
"no-parameter-reassignment": true,
"no-require-imports": true,
"no-submodule-imports": false,
"no-switch-case-fall-through": true,
"no-this-assignment": [true, {"allow-destructuring": true}],
"no-trailing-whitespace": true,
"no-var-keyword": true,
"object-literal-shorthand": true,
"object-literal-sort-keys": false,
"one-variable-per-declaration": [true],
"only-arrow-functions": [true, "allow-declarations"],
"ordered-imports": [false],
"prefer-conditional-expression": [true, "check-else-if"],
"prefer-method-signature": false,
"prefer-template": [true, "allow-single-concat"],
"quotemark": [true, "single", "jsx-double"],
"semicolon": [true],
"triple-equals": [true, "allow-null-check"],
"typedef": [true,"parameter", "property-declaration"],
"variable-name": [true, "ban-keywords", "check-format", "allow-pascal-case", "allow-leading-underscore"]
}
}