Skip to content

Commit 3510df8

Browse files
author
Dmitrii
committedFeb 17, 2022
fix: react-scripts v5 upd
1 parent e47ee09 commit 3510df8

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed
 

‎.eslintrc

+5-4
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,13 @@
2424
"ecmaVersion": 12,
2525
"sourceType": "module"
2626
},
27-
"plugins": ["react"],
27+
"plugins": [
28+
"react"
29+
],
2830
"rules": {
2931
"react/react-in-jsx-scope": "off",
3032
"react/prop-types": "off",
3133
"react/jsx-key": "off",
32-
"react/no-unescaped-entities": "off",
33-
"@typescript-eslint/no-unused-expressions": "1"
34+
"react/no-unescaped-entities": "off"
3435
}
35-
}
36+
}

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"yarn": "^1.22.17"
3030
},
3131
"scripts": {
32-
"start": "GENERATE_SOURCEMAP=false react-app-rewired start",
32+
"start": "set \"GENERATE_SOURCEMAP=false\" && react-app-rewired start",
3333
"build": "react-app-rewired build",
3434
"test": "react-app-rewired test",
3535
"eject": "react-app-rewired eject",

0 commit comments

Comments
 (0)
Please sign in to comment.