-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtslint.json
88 lines (82 loc) · 2.4 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
81
82
83
84
85
86
87
88
{
"defaultSeverity": "error",
"extends": [
"tslint:latest",
"tslint-eslint-rules",
"tslint-clean-code",
"tslint-microsoft-contrib",
"tslint-sonarts",
"tslint-react",
"tslint-consistent-codestyle"
],
"jsRules": {},
"rules": {
"no-relative-imports": false,
"no-import-side-effect": [true, { "ignore-module": "(\\.html|\\.s?css)$" }],
"missing-jsdoc": false,
"export-name": false,
"no-default-export": false,
"typedef": false,
"interface-name": false,
"member-access": false,
"quotemark": false,
"ordered-imports": false,
"import-name": false,
"no-duplicate-string": false,
"curly": false,
"align": false,
"no-suspicious-comment": false,
"no-submodule-imports": [
true,
"bootstrap",
// src modules
"common",
"error404",
"main",
"login",
"util"
],
"no-implicit-dependencies": [
true, [
// src modules
"common",
"error404",
"main",
"login",
"util"
],
"dev"
],
"jsx-curly-spacing": false,
"jsx-alignment": false,
"jsx-no-multiline-js": false,
"variable-name": false,
"no-small-switch": false,
"switch-final-break": false,
"no-http-string": false,
"underscore-consistent-invocation": false,
"no-backbone-get-set-outside-model": false,
"no-object-literal-type-assertion": false,
"binary-expression-operand-order": false,
"one-line": [true, "check-open-brace", "check-whitespace"],
// eslint-rules
"jsx-boolean-value": false,
"newline-before-return": false,
"no-reserved-keywords": false,
// microsoft-contrib
"react-this-binding-issue": false,
"no-increment-decrement": false,
"newline-per-chained-call": false,
"no-null-keyword": false,
"use-simple-attributes": false,
"react-a11y-input-elements": false,
// sonarts
"max-union-size": false,
"no-any": true,
"no-unused-variable": [
true,
{ "ignore-pattern": "^unused" }
]
},
"rulesDirectory": []
}