Somewhat frequently, I save and have some eslint errors, I fix them, save again, but it's still showing the eslint errors in browser and in console
restarting the dev server (react-scripts start) won't help
I have to delete eslint cache running rm node_modules/.cache/.eslintcache and restart the server to get it working again
config:
$ node -v
v16.9.0
$ npm -v
7.21.1
$ npm ls react-scripts
└── react-scripts@4.0.3
using sublime text and ESLint Formatter package to format on save using eslint_d if that matters, but I remember having that with vscode and the standard LSP formatter
Somewhat frequently, I save and have some eslint errors, I fix them, save again, but it's still showing the eslint errors in browser and in console
restarting the dev server (
react-scripts start) won't helpI have to delete eslint cache running
rm node_modules/.cache/.eslintcacheand restart the server to get it working againconfig:
using sublime text and ESLint Formatter package to format on save using eslint_d if that matters, but I remember having that with vscode and the standard LSP formatter