You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ eslint --config .eslintrc "./**/*.js"
Error: Cannot find module 'babel-eslint'
at ModuleResolver.resolve (C:\Projects\OSS\react-live\node_modules\eslint\lib\util\module-resolver.js:72:19)
at loadFromDisk (C:\Projects\OSS\react-live\node_modules\eslint\lib\config\config-file.js:537:42)
at Object.load (C:\Projects\OSS\react-live\node_modules\eslint\lib\config\config-file.js:587:20)
at Config.loadSpecificConfig (C:\Projects\OSS\react-live\node_modules\eslint\lib\config.js:148:46)
at new Config (C:\Projects\OSS\react-live\node_modules\eslint\lib\config.js:114:14)
at new CLIEngine (C:\Projects\OSS\react-live\node_modules\eslint\lib\cli-engine.js:466:23)
at Object.execute (C:\Projects\OSS\react-live\node_modules\eslint\lib\cli.js:204:28)
at Object.<anonymous> (C:\Projects\OSS\react-live\node_modules\eslint\bin\eslint.js:78:28)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
babel-eslint is deprecated and I recommend using the default ESLint parser. Would fix myself, but eslint-config-formidable also depends on babel-eslint.
The text was updated successfully, but these errors were encountered:
srmagura
changed the title
yarn lint is broken (cannot resolve babel-loader)yarn lint is broken (cannot resolve babel-eslint)
Jan 9, 2022
babel-eslint
is deprecated and I recommend using the default ESLint parser. Would fix myself, buteslint-config-formidable
also depends onbabel-eslint
.The text was updated successfully, but these errors were encountered: