Skip to content

I keep having to rm node_modules/.cache/.eslintcache #11429

Open
@caub

Description

@caub

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions