forked from prgrms-web-devcourse/Team_Sagack_MonthSub_FE
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
47 lines (47 loc) · 1.23 KB
/
.eslintrc.js
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
module.exports = {
env: {
browser: true,
es6: true,
node: true,
},
extends: ['airbnb', 'prettier'],
rules: {
'react/function-component-definition': 'off',
'object-curly-newline': 0,
'import/extensions': ['off'],
'import/no-extraneous-dependencies': ['error', { devDependencies: true }],
'no-alert': 'off',
'no-useless-escape': 'off',
'consistent-return': 'off',
'import/no-unresolved': 'off',
'import/prefer-default-export': 'off',
'dot-notation': 'off',
'no-underscore-dangle': 'off',
'react/forbid-prop-types': 'off',
'react/no-children-prop': 'off',
'react/jsx-props-no-spreading': ['off'],
'jsx-a11y/click-events-have-key-events': 'off',
'jsx-a11y/no-static-element-interactions': 'off',
'no-unused-expressions': 'off',
'no-shadow': 'off',
'no-restricted-syntax': 'off',
'jsx-a11y/no-noninteractive-element-interactions': 'off',
'no-nested-ternary': 'off',
'jsx-a11y/label-has-associated-control': [
'error',
{
required: {
some: ['nesting', 'id'],
},
},
],
'jsx-a11y/label-has-for': [
'error',
{
required: {
some: ['nesting', 'id'],
},
},
],
},
};