forked from wix-incubator/unidriver
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tslint.json
executable file
·56 lines (56 loc) · 2.08 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
{
"extends": ["tslint:latest", "tslint-react"],
"rulesDirectory": [
"tslint-rules"
],
"rules": {
"lower-case-module-imports": true,
"no-dev-translations": true,
"no-namespace": [true, "allow-declarations"],
"no-reference": false,
"only-arrow-functions": [true, "allow-declarations"],
"typedef-whitespace": [true,
{"variable-declaration": "nospace", "call-signature": "nospace", "parameter": "nospace", "property-declaration": "nospace"},
{"variable-declaration": "onespace", "call-signature": "onespace", "parameter": "onespace", "property-declaration": "onespace"}
],
"no-submodule-imports": false,
"interface-over-type-literal": false,
"space-before-function-paren": true,
"ordered-imports": [false],
"member-access": false,
"curly": true,
"no-bitwise": true,
"no-conditional-assignment": true,
"no-console": [true, "log", "error"],
"no-debugger": true,
"no-empty": true,
"no-eval": true,
"no-invalid-this": [true, "check-function-in-method"],
"no-shadowed-variable": true,
"no-switch-case-fall-through": true,
"no-var-keyword": true,
"switch-default": false,
"triple-equals": true,
"eofline": true,
"indent": [true, "tabs"],
"no-trailing-whitespace": true,
"trailing-comma": [true, {"singleline": "never"}],
"class-name": true,
"no-consecutive-blank-lines": [true],
"no-implicit-dependencies": false,
"object-literal-key-quotes": [true, "as-needed"],
"one-line": [true, "check-catch", "check-finally", "check-else", "check-open-brace", "check-whitespace"],
"quotemark": [true, "single", "jsx-single"],
"semicolon": [true, "always"],
"whitespace": [true, "check-branch", "check-decl", "check-operator", "check-separator", "check-type"],
"cyclomatic-complexity": [true, 20],
"interface-name": [true, "never-prefix"],
"jsx-alignment": true,
"jsx-no-lambda": true,
"jsx-curly-spacing": [true, "never"],
"jsx-no-multiline-js": true,
"jsx-no-string-ref": true,
"jsx-self-close": true,
"object-literal-sort-keys": false
}
}