question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Get rid of warning ignored files

See original GitHub issue

Hi, 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:closed
  • Created 4 years ago
  • Comments:16 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
tnrichcommented, Oct 10, 2019

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:

/Users/taoh/Sites/lims/server/src/data-lib-lims/entities/user/deleteNestedUserRecords.js
0:0  warning  File ignored because of a matching ignore pattern. Use "--no-ignore" to override

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

0reactions
puresickcommented, Jan 7, 2020

I am having a similar issue where I need to surpress the warning of ignored files. Anything new on this issue yet?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found