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

docs: add information about ESLint --no-warn-ignored #1332

Merged
merged 3 commits into from Oct 12, 2023

Conversation

domnantas
Copy link
Contributor

@domnantas domnantas commented Oct 9, 2023

ESLint 8.51.0 introduced --no-warn-ignored CLI flag: https://eslint.org/blog/2023/10/eslint-v8.51.0-released/

This makes it unnecessary to filter ignored files from lint-staged due to the warning File ignored because of a matching ignore pattern. Use "--no-ignore" to override warning.

@iiroj
Copy link
Member

iiroj commented Oct 10, 2023

Thanks for the PR! Maybe I should improve some docs about this, but since switching to changesets a file is required for each PR. You can generate an empty one with npx changeset --empty as this doesn't need to be mentioned in the changelog.

@codecov
Copy link

codecov bot commented Oct 10, 2023

Codecov Report

All modified lines are covered by tests ✅

📢 Thoughts on this report? Let us know!.

@iiroj iiroj merged commit 50cc3cc into lint-staged:master Oct 12, 2023
15 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants