简体   繁体   中英

Problem with ESLint after installing npm create-react-app

ESLint: Invalid Options: - Unknown options: env, parserOptions, rules - 'parserOptions' has been removed. Please use the 'overrideConfig.parserOptions' option instead. - 'rules' has been removed. Please use the 'overrideConfig.rules' option instead.. Please see the 'ESLint' output channel for details.

My package.json is: package.json code

Did not run into such problem personally but kind of solution is here .

Anyway I would recommend to check that you have some fresh 14+ version on NodeJS installed (because create-react-app 5 dropped support of Node 10 and 12 ) and also that your IDE and it's ESLint plugin are up-to-date.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM