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
Ignored files in .eslintrc.js are ignored successfully on the initial build. After that if they are changed and a watch build picks them up you get the error:
WARNING in path/file.ts
[unknown]: File ignored because of a matching ignore pattern. Use "--no-ignore" to override.
The files are successfully ignored still - it's just a distracting warning.
Run a watched webpack build. The initial build will run with no warnings. Now update and save test.ignoreme.ts.
You see the warning referred to above.
Environment
fork-ts-checker-webpack-plugin: 5.0.6
typescript: 3.9.2
eslint: 6.8.0
webpack: 4.43.0
os: Windows 10
Notes
This could possibly be worked around by not including the eslint ignored files in the include patterns for fork-ts-checker-webpack-plugin (or at least ignoring the warnings from the file as per #450).
This seems to be the same issue as #316 which was previously fixed but seems to have been partially reverted in the recent restructuring. If I update the eslint reporter locally like so, I no longer see the error
Filter out files ignored by the eslint config when linting on watched builds.
Before this, ignored files would still be passed to the linter when changed and would trigger warnings in webpack.
ClosesTypeStrong#485
Filter out files ignored by the eslint config when linting on watched builds.
Before this, ignored files would still be passed to the linter when changed and would trigger warnings in webpack.
Closes#485
Current behavior
Ignored files in .eslintrc.js are ignored successfully on the initial build. After that if they are changed and a watch build picks them up you get the error:
The files are successfully ignored still - it's just a distracting warning.
Expected behavior
No warnings
Steps to reproduce the issue
Run a watched webpack build. The initial build will run with no warnings. Now update and save test.ignoreme.ts.
You see the warning referred to above.
Environment
Notes
This could possibly be worked around by not including the eslint ignored files in the include patterns for
fork-ts-checker-webpack-plugin
(or at least ignoring the warnings from the file as per #450).This seems to be the same issue as #316 which was previously fixed but seems to have been partially reverted in the recent restructuring. If I update the eslint reporter locally like so, I no longer see the error
Happy to drop in a PR if you think this looks reasonable.
The text was updated successfully, but these errors were encountered: