Migrate config to lint-staged >=10:
npx https://gist.github.com/remarkablemark/7732ca7f192550c8851419eec2aad7ea
Before running the script, make sure your working directory is clean:
git add .
git stash
Once the script finishes, pop your stash:
git stash pop
If you have trouble running lint-staged
, try reinstalling node_modules
:
rm -rf node_modules && npm i