forked from aws-amplify/learn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
58 lines (58 loc) · 1.58 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
56
57
58
{
"extends": ["airbnb", "prettier"],
"globals": {
"window": "writable"
},
"parserOptions": {
"ecmaVersion": 9,
"impliedStrict": true,
"sourceType": "module"
},
"plugins": ["prettier"],
"rules": {
"block-scoped-var": "off",
"camelcase": "off",
"comma-dangle": ["error", "only-multiline"],
"func-names": "off",
"global-require": "off",
"import/newline-after-import": "off",
"import/no-dynamic-require": "off",
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": true,
"peerDependencies": true
}
],
"import/prefer-default-export": "off",
"jsx-a11y/anchor-has-content": "off",
"jsx-a11y/click-events-have-key-events": "off",
"jsx-a11y/heading-has-content": "off",
"jsx-a11y/label-has-associated-control": "off",
"jsx-a11y/label-has-for": "off",
"jsx-a11y/no-autofocus": "off",
"jsx-a11y/no-static-element-interactions": "off",
"no-console": "off",
"no-empty": "off",
"no-duplicate-case": "off",
"no-fallthrough": "off",
"no-nested-ternary": "off",
"no-param-reassign": "off",
"no-restricted-globals": "off",
"no-restricted-syntax": "off",
"no-unused-expressions": "off",
"no-var": "off",
"object-shorthand": "off",
"react/destructuring-assignment": "off",
"react/jsx-filename-extension": "off",
"react/jsx-sort-props": "off",
"react/no-children-prop": "off",
"react/prop-types": "off",
"react/react-in-jsx-scope": "off"
},
"settings": {
"import/resolver": {
"babel-module": {}
}
}
}