-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathtslint.json
80 lines (80 loc) · 2.92 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"extends": ["tslint:latest", "tslint-react"],
"rules": {
"jsx-alignment": [true],
"jsx-ban-props": [true, ["className"]],
"jsx-boolean-value": [true, "never"],
"jsx-curly-spacing": [true, "never"],
"jsx-no-lambda": false,
"jsx-no-bind": true,
"jsx-no-string-ref": true,
"jsx-wrap-multiline": true,
"jsx-no-multiline-js": false,
"arrow-return-shorthand": [true],
"comment-format": [true, "check-space"],
"interface-over-type-literal": false,
"member-access": false,
"member-ordering": [true, {"order": "statics-first"}],
"no-any": true,
"no-implicit-dependencies": false,
"no-inferrable-types": [false],
"no-import-side-effect": [true, {"ignore-module": "rxjs|react-native"}],
"no-invalid-this": [true, "check-function-in-method"],
"no-null-keyword": false,
"no-require-imports": false,
"no-switch-case-fall-through": true,
"no-trailing-whitespace": true,
"object-literal-sort-keys": false,
"only-arrow-functions": [true, "allow-declarations"],
"ordered-imports": [false],
"prefer-template": [true, "allow-single-concat"],
"quotemark": [true, "single", "jsx-double"],
"triple-equals": [true, "allow-null-check"],
"typedef": [true,"parameter", "property-declaration", "member-variable-declaration"],
"variable-name": [true, "ban-keywords", "check-format", "allow-pascal-case"],
"semicolon": [true, "never"],
"import-spacing": true,
"no-magic-numbers": false,
"no-reference": true,
"curly": true,
"no-bitwise": true,
"no-debugger": true,
"no-duplicate-variable": true,
"no-eval": true,
"no-for-in-array": true,
"no-invalid-template-strings": true,
"no-shadowed-variable": false,
"no-var-keyword": true,
"prefer-const": true,
"prefer-object-spread": true,
"radix": true,
"restrict-plus-operands": true,
"switch-default": true,
"indent": [true, "spaces", 4],
"max-line-length": [120],
"trailing-comma": true,
"align": [true, "parameters", "statements", "elements"],
"array-type": [true, "generic"],
"arrow-parens": [true, "ban-single-arg-parens"],
"whitespace": [true, "check-module", "check-preblock", "check-type", "check-separator", "check-branch"],
"match-default-export-name": true,
"newline-before-return": true,
"no-boolean-literal-compare": true,
"no-consecutive-blank-lines": true,
"no-irregular-whitespace": true,
"no-unnecessary-callback-wrapper": true,
"object-literal-key-quotes": [true, "as-needed"],
"object-literal-shorthand": true,
"one-line": [true, "check-else", "check-open-brace"],
"one-variable-per-declaration": true,
"prefer-method-signature": true,
"prefer-switch": true,
"interface-name": false,
"no-var-requires": false,
"no-empty": false,
"no-object-literal-type-assertion": false,
"no-submodule-imports": false,
"no-console": false,
"jsdoc-format": false
}
}