File tree 4 files changed +3
-2
lines changed
4 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 1
1
packages / @ ianschmitz @ iansu @ mrmckeb @ petetnt
2
- docusaurus / @ amyrlam @ iansu
2
+ docusaurus / @ ianschmitz @ iansu @ mrmckeb
Original file line number Diff line number Diff line change @@ -43,5 +43,6 @@ module.exports = {
43
43
rules : {
44
44
'react/jsx-uses-react' : 'warn' ,
45
45
'react/jsx-uses-vars' : 'warn' ,
46
+ 'react/react-in-jsx-scope' : 'error' ,
46
47
} ,
47
48
} ;
Original file line number Diff line number Diff line change @@ -253,7 +253,6 @@ module.exports = {
253
253
'react/no-direct-mutation-state' : 'warn' ,
254
254
'react/no-is-mounted' : 'warn' ,
255
255
'react/no-typos' : 'error' ,
256
- 'react/react-in-jsx-scope' : 'error' ,
257
256
'react/require-render-return' : 'error' ,
258
257
'react/style-prop-object' : 'warn' ,
259
258
Original file line number Diff line number Diff line change @@ -361,6 +361,7 @@ module.exports = function (webpackEnv) {
361
361
{
362
362
options : {
363
363
cache : true ,
364
+ cwd : paths . appPath ,
364
365
formatter : require . resolve ( 'react-dev-utils/eslintFormatter' ) ,
365
366
eslintPath : require . resolve ( 'eslint' ) ,
366
367
resolvePluginsRelativeTo : __dirname ,
You can’t perform that action at this time.
0 commit comments