eslint-watch
eslint-watch copied to clipboard
--watch-ignore should include by default the ignored patterns
Environment
- Node Version: 16.8.1
- Eslint-Watch Version: 8.0.0
- Eslint Version: 8.28.0
- OS: Windows 11
Basic Description of the problem
By running pnpm cross-env DEBUG=esw:* pnpm esw --watch --ext ts,tsx ., it shows that patterns that should be ignored (in .eslintignore or eslintrc's ignorePattern) are being watched (.next, storybook-static, public, other stuff...). Files with different extensions are also being watched, such as .js, .png...
I found this because my -w is not working (it says SKIPPING the changed file) so I tried this DEBUG env.