-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathtslint.json
51 lines (51 loc) · 1.48 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
{
"extends": ["tslint:recommended", "tslint-react", "tslint-config-prettier"],
"linterOptions": {
"exclude": ["config/**/*.js", "node_modules/**/*.ts"]
},
"rulesDirectory": ["node_modules/tslint-microsoft-contrib"],
"rules": {
"indent": [true, "spaces", 2],
"semicolon": [true, "always"],
"trailing-comma": {
"options": {
"multiline": "always",
"singleline": "never",
"esSpecCompliant": true
},
"severity": "error"
},
"no-console": {
"severity": "off"
},
"prefer-const": {
"severity": "off"
},
"react-a11y-anchors": {},
"react-a11y-aria-unsupported-elements": {},
"react-a11y-event-has-role": {},
"react-a11y-image-button-has-alt": {},
"react-a11y-img-has-alt": {},
"react-a11y-input-elements": {
"severity": "off",
"REASON": "RULE REQUIRES THE value ATTRIBUTE ON CHECKBOX ELEMENTS. BROKEN AS OF 6.1.0."
},
"react-a11y-lang": {},
"react-a11y-meta": {},
"react-a11y-no-onchange": {},
"react-a11y-props": {},
"react-a11y-proptypes": {},
"react-a11y-required": {},
"react-a11y-role": {},
"react-a11y-role-has-required-aria-props": {
"severity": "off",
"REASON": "RULE REQUIRES aria-* ATTRIBUTES ON ELEMENTS WITH IMPLICIT ROLES. BROKEN AS OF 6.1.0."
},
"react-a11y-role-supports-aria-props": {},
"react-a11y-tabindex-no-positive": {},
"react-a11y-titles": {},
"jsx-no-lambda": {
"severity": "off"
}
}
}