-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtslint.json
108 lines (106 loc) · 3.34 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
{
"defaultSeverity": "error",
"extends": ["tslint:recommended"],
"jsRules": {},
"rulesDirectory": [],
"rules": {
"class-name": true,
"eofline": false,
"forin": true,
"label-position": true,
"import-blacklist": [
true,
["/src/", "/src$", "@msfast/localization/lib/declareString"]
],
"member-ordering": false,
"no-any": true,
"no-arg": true,
"no-banned-terms": true,
"no-bitwise": true,
"no-console": [true, "debug", "info", "time", "timeEnd", "trace"],
"no-construct": true,
"no-constructor-vars": false,
"no-debugger": true,
"no-delete-expression": true,
"no-disable-auto-sanitization": true,
"no-document-domain": true,
"no-duplicate-parameter-names": true,
"no-duplicate-variable": true,
"no-empty": true,
"no-eval": true,
"no-exec-script": true,
"no-function-constructor-with-string-args": true,
"no-implicit-dependencies": [true, "dev"],
"no-invalid-template-strings": true,
"no-non-null-assertion": true,
"no-object-literal-type-assertion": true,
"no-octal-literal": true,
"no-reserved-keywords": true,
"no-string-based-set-immediate": true,
"no-string-based-set-interval": true,
"no-string-based-set-timeout": true,
"no-string-literal": false,
"no-switch-case-fall-through": true,
"no-trailing-whitespace": true,
"no-unnecessary-class": true,
"no-var-requires": false,
"one-line": [
true,
"check-catch",
"check-else",
"check-open-brace",
"check-whitespace"
],
"radix": true,
"switch-default": true,
"triple-equals": [true, "allow-null-check"],
"typedef": [true, "call-signature", "property-declaration"],
"typedef-whitespace": [
true,
{
"call-signature": "nospace",
"index-signature": "nospace",
"parameter": "nospace",
"property-declaration": "nospace",
"variable-declaration": "nospace"
}
],
"variable-name": [true, "allow-leading-underscore", "allow-pascal-case"],
"whitespace": [
true,
"check-branch",
"check-decl",
"check-module",
"check-operator",
"check-separator",
"check-type"
],
"actionWithSpecialVariable": true,
"camelCaseMethodName": true,
"react-a11y-anchors": true,
"react-a11y-aria-unsupported-elements": true,
"react-a11y-event-has-role": true,
"react-a11y-image-button-has-alt": true,
"react-a11y-img-has-alt": true,
"react-a11y-lang": true,
"react-a11y-meta": true,
"react-a11y-props": true,
"react-a11y-proptypes": true,
"react-a11y-role-has-required-aria-props": true,
"react-a11y-role-supports-aria-props": true,
"react-a11y-role": true,
"react-a11y-tabindex-no-positive": true,
"react-a11y-titles": true,
"setStateDisallowed": false,
"webComponentRequiresExtension": [
true,
{
"webSpecificLibraries": ["office-ui-fabric-react", "react-dom"],
"exceptions": ["index\\.tsx?$", "\\.tests?\\.tsx?$"]
}
],
"noUntypedObjectReduce": true,
"windowAndDocumentDisallowed": false,
"react-hooks-nesting": true
}
}