File tree Expand file tree Collapse file tree 3 files changed +2
-1
lines changed Expand file tree Collapse file tree 3 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -43,5 +43,6 @@ module.exports = {
4343 rules : {
4444 'react/jsx-uses-react' : 'warn' ,
4545 'react/jsx-uses-vars' : 'warn' ,
46+ 'react/react-in-jsx-scope' : 'error' ,
4647 } ,
4748} ;
Original file line number Diff line number Diff line change @@ -253,7 +253,6 @@ module.exports = {
253253 'react/no-direct-mutation-state' : 'warn' ,
254254 'react/no-is-mounted' : 'warn' ,
255255 'react/no-typos' : 'error' ,
256- 'react/react-in-jsx-scope' : 'error' ,
257256 'react/require-render-return' : 'error' ,
258257 'react/style-prop-object' : 'warn' ,
259258
Original file line number Diff line number Diff line change @@ -361,6 +361,7 @@ module.exports = function (webpackEnv) {
361361 {
362362 options : {
363363 cache : true ,
364+ cwd : paths . appPath ,
364365 formatter : require . resolve ( 'react-dev-utils/eslintFormatter' ) ,
365366 eslintPath : require . resolve ( 'eslint' ) ,
366367 resolvePluginsRelativeTo : __dirname ,
You can’t perform that action at this time.
0 commit comments