-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.yml
67 lines (60 loc) · 1.42 KB
/
.eslintrc.yml
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
extends: airbnb
parser: babel-eslint
parserOptions:
allowImportExportEverywhere: true
env:
browser: true
globals:
ga: false
rules:
indent:
- error
- 4
- SwitchCase: 1
FunctionDeclaration:
parameters: first
linebreak-style: off
curly: off
comma-dangle: off
prefer-destructuring: off
default-case: off
function-paren-newline: off
camelcase: off
class-methods-use-this: off
object-curly-spacing: off
object-curly-newline: off
no-lonely-if: off
no-continue: off
no-bitwise: off
no-param-reassign: off
no-use-before-define: off
no-shadow: warn
no-nested-ternary: off
no-restricted-globals: off
no-restricted-properties: off
no-useless-escape: 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/export: off
import/no-named-as-default: off
import/no-named-as-default-member: off
import/prefer-default-export: 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