Get rid of warning ignored files
See original GitHub issueHi, i have a question. After bump of sass-loader we need to use sassOptions in our next.config.js, but when i change it, like
sassLoaderOptions: { sassOptions: { includePaths: ['public/assets/styles'] } }
and try to commit to github, eslint gives me
0:0 warning File ignored because of a matching ignore pattern. Use "--no-ignore" to override
Our default eslint is yarn run eslint --fix --max-warnings=0
Is there some way to ignore this warning?
Issue Analytics
- State:
- Created 4 years ago
- Comments:16 (6 by maintainers)
Top Results From Across the Web
how to silence warnings about ignored files in eslint
One workaround I know at the moment is --quiet option, which suppresses all warnings. Of course that doesn't make sense if you have...
Read more >How to remove warning message or Ignore ... - YouTube
How to remove warning message or Ignore Warning messagesin jupyter notebook steps areimport ...
Read more >Warning: Ignored filter at <SDC file>: <clock... - Intel
This warning may be seen in the Quartus® II software during fitting when a clock constraint has been assigned in a Synopsys Design...
Read more >When and How to Ignore Accessibility Errors or Warnings
Examples of things that trigger a warning are links to PDF files, the presence of a slider or video, or paragraph text that...
Read more >Ignore parts of the code | ReSharper Documentation - JetBrains
Ignore projects with frozen or third-party code · List file masks of the projects that should be ignored (for example, ; Exclude files...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey there, sorry to hijack this thread but I’m dealing with a similar issue:
Here’s the situation: Due to changes in v9, lint-staged now passes a list of all changed files to eslint (instead of a configurable subset), some of which I do not want to be linted (hence I ignore them with my .eslintignore). Eslint throws warnings that I am trying to lint ignored files:
Is there a way for eslint to suppress warnings that files are being ignored?
Do we need to add another CLI option to get around this? Does one already exist?
Here is the original issue in lint-staged: https://github.com/okonet/lint-staged/issues/711
I am having a similar issue where I need to surpress the warning of ignored files. Anything new on this issue yet?