-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
40 lines (40 loc) · 938 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
40
module.exports = {
env: {
browser: true,
es2021: true,
},
extends: [
'plugin:react/recommended',
'airbnb',
],
overrides: [
{
files: ['scr/redux/slices/*Slice.js'],
rules: { 'no-param-reassign': ['error', { props: false }] },
},
],
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
},
plugins: [
'react',
],
rules: {
semi: ['error', 'never'],
'linebreak-style': 0,
'no-console': 0,
'react/jsx-uses-react': 0,
'react/react-in-jsx-scope': 0,
'react/jsx-props-no-spreading': 0,
'react/prop-types': 0,
'import/no-cycle': 0,
'import/prefer-default-export': 0,
'import/no-extraneous-dependencies': 0,
'react/jsx-filename-extension': 0,
'react/jsx-no-constructed-context-values': 0,
'no-param-reassign': 0,
'jsx-a11y/no-static-element-interactions': 0,
'jsx-a11y/click-events-have-key-events': 0,
},
}