-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc.js
40 lines (38 loc) · 905 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 = {
root: true,
env: {
browser: true,
node: true,
},
parserOptions: {
ecmaVersion: 2021,
sourceType: "module",
},
extends: [
"react-app",
"plugin:react/recommended",
],
plugins: ["react"],
rules: {
},
ignorePatterns: ["**/*.java", "**/*.cy.js"],
overrides: [
{
files: ["frontend/**/*.js"],
env: {
browser: true,
},
extends: [
"plugin:react/recommended"
],
rules: {
"react/jsx-uses-react": "off",
"react/jsx-uses-vars": "off",
"react/prop-types": "off",
"react/react-in-jsx-scope": "off",
"react/no-unescaped-entities": "off",
"react/jsx-key":"off"
},
},
],
};