Open rileyjshaw opened 2 years ago
I had some luck trying the following:
npm uninstall -D babel-eslint
npm install -D @babel/eslint-parser
…and then updating each .eslintrc.js
file to include:
parser: "@babel/eslint-parser",
parserOptions: {
requireConfigFile: false,
I’m not making a PR yet because the configuration still seems somewhat broken; it’s linting the cache, node_modules, etc. But no errors so far after the upgrade.
On a fresh install of the project, I ran:
I’m seeing a bunch of errors like:
I believe this could be because the
babel-eslint
package is no-longer supported and has been replaced by@babel/eslint-parser
.