-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.js
More file actions
40 lines (40 loc) · 1.02 KB
/
.eslintrc.js
File metadata and controls
40 lines (40 loc) · 1.02 KB
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:@next/next/recommended',
'plugin:react/recommended',
],
parserOptions: {
ecmaFeatures: {
jsx: true,
},
ecmaVersion: 12,
sourceType: 'module',
},
plugins: [
'react',
],
rules: {
'import/extensions': 'off',
'import/no-unresolved': 'off',
'jsx-a11y/control-has-associated-label': 'off',
'jsx-a11y/label-has-associated-control': 'off',
'@next/next/no-img-element': 'off',
'max-len': 'off',
'no-mixed-operators': 'off',
'no-use-before-define': 'off',
'object-curly-newline': 'off',
'operator-linebreak': 'off',
'react/jsx-filename-extension': 'off',
'react/jsx-one-expression-per-line': 'off',
'react/jsx-props-no-spreading': 'off',
'react/jsx-wrap-multilines': 'off',
'react/no-array-index-key': 'off',
'react/no-danger': 'off',
'react/no-unescaped-entities': 'off',
'react/prop-types': 'off'
},
};