forked from LBALab/lba2remake
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tslint.yaml
68 lines (61 loc) · 1.63 KB
/
tslint.yaml
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
defaultSeverity: error
extends: [tslint-config-airbnb]
rules:
ter-indent:
- error
- 4
- SwitchCase: 1
FunctionDeclaration:
parameters: first
variable-name: [off]
linebreak-style: [off]
curly: [off]
trailing-comma: [off]
prefer-destructuring: [off]
default-case: [off]
function-name: [off]
function-paren-newline: [off]
camelcase: [off]
align: [off]
no-boolean-literal-compare: [off]
class-methods-use-this: [off]
object-curly-spacing: [off]
object-curly-newline: [off]
object-shorthand-properties-first: [off]
no-console: [true, log, warn]
no-lonely-if: [off]
no-continue: [off]
no-bitwise: [off]
no-param-reassign: [off]
no-parameter-reassignment: [off]
no-use-before-define: [off]
no-shadowed-variable: [true]
no-nested-ternary: [off]
no-restricted-globals: [off]
no-restricted-properties: [off]
no-useless-escape: [off]
no-this-assignment: [off]
react/jsx-indent:
- error
- 4
react/jsx-indent-props:
- error
- 4
react/jsx-closing-tag-location: [off]
react/jsx-wrap-multilines: [off]
react/jsx-tag-spacing: [off]
react/jsx-filename-extension: [off]
react/jsx-no-bind: [off]
react/prop-types: [off]
react/sort-comp: [off]
import/no-named-as-default-member: [off]
import/prefer-default-export: [off]
import-name: [off]
# Accessibility - disabled for now
jsx-a11y/alt-text: [off]
jsx-a11y/click-events-have-key-events: [off]
jsx-a11y/label-has-for: [off]
jsx-a11y/media-has-caption: [off]
jsx-a11y/no-autofocus: [off]
jsx-a11y/no-noninteractive-element-interactions: [off]
jsx-a11y/no-static-element-interactions: [off]