Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"eslint.onIgnoredFiles" seems not working on v3.0.10 #1868

Closed
zheung opened this issue Jun 17, 2024 · 0 comments · Fixed by #1871
Closed

"eslint.onIgnoredFiles" seems not working on v3.0.10 #1868

zheung opened this issue Jun 17, 2024 · 0 comments · Fixed by #1871
Assignees
Milestone

Comments

@zheung
Copy link

zheung commented Jun 17, 2024

After upgrading to v3.x, I found that onIgnoredFiles does not generate warnings properly:

settings.json

{
	"eslint.onIgnoredFiles": "warn"
}

eslint.config.js

export default [
	{ ignores: ['dist/**'] },
];

note:

  • vscode-eslint version: 3.0.10 (also 3.0.8)
  • eslint version: 9.5.0
  • node version (local): 20.14.0
  • using flat config
  • it correctly lints for files that have not been ignored

screeonshot on v3.0.10 (not working):
20240617180545

screeonshot on v2.4.4 (working):
20240617180410

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants