forked from mediacloud/web-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
55 lines (52 loc) · 1.42 KB
/
.eslintrc
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
{
"extends": [
"airbnb",
"plugin:jsx-a11y/recommended"
],
"parser": "@babel/eslint-parser",
"env": {
"browser": true,
"es6": true,
"commonjs": true
},
"plugins": [
"@babel",
"react"
],
"rules": {
"jsx-a11y/no-autofocus": [2, { "ignoreNonDOM": true }],
"max-len": 0,
"import/no-named-as-default": 0,
"no-case-declarations": 0,
"no-bitwise": ["error", { "allow": ["~"] }],
"comma-dangle": ["error", {
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "ignore"
}],
"click-events-have-key-events": 0,
"object-curly-newline": 0,
"arrow-parens": 0,
"camelcase": 0,
"react/jsx-filename-extension": 0,
"react/jsx-no-bind": 0,
"react/forbid-prop-types": 0,
"react/require-default-props": 0,
"react/destructuring-assignment": 0,
"react/jsx-one-expression-per-line": 0,
"react/no-danger": 0,
"react/no-unused-prop-types": 0,
"react/no-array-index-key": 0,
"react/jsx-props-no-spreading": 0,
"react/state-in-constructor": 0,
"jsx-a11y/no-static-element-interactions": 0,
"jsx-a11y/label-has-for": 0,
"jsx-a11y/anchor-is-valid": 0,
"jsx-a11y/no-noninteractive-element-to-interactive-role": 0,
"jsx-a11y/label-has-associated-control": 0,
"template-curly-spacing" : "off",
"indent": "off"
}
}