-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
39 lines (39 loc) · 917 Bytes
/
.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
module.exports = {
env: {
browser: true,
es2021: true,
},
extends: ['plugin:react/recommended', 'airbnb'],
parserOptions: {
ecmaFeatures: {
jsx: true,
},
ecmaVersion: 13,
sourceType: 'module',
},
plugins: ['react'],
rules: {
'no-underscore-dangle': 0,
'arrow-body-style': 0,
'no-shadow': 0,
'consistent-return': 0,
'no-nested-ternary': 0,
'no-console': 1,
'func-names': 0,
'no-undef': 0,
'indent': 0,
'quotes': 0,
'max-len': 0,
'react/self-closing-comp': 0,
'no-unused-expressions': 0,
'jsx-a11y/label-has-associated-control': 0,
'no-unused-vars': 1,
'react/prop-types': 0,
'react/function-component-definition': 0,
'react/react-in-jsx-scope': 0,
'react/jsx-one-expression-per-line': 0,
'react/button-has-type': 0,
'no-case-declarations': 0,
'import/prefer-default-export': 0,
},
};