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

fix: --no-ignore should not apply to non-global ignores #18334

Merged
merged 1 commit into from Apr 15, 2024
Merged

Conversation

mdjermanovic
Copy link
Member

Prerequisites checklist

What is the purpose of this pull request? (put an "X" next to an item)

[ ] Documentation update
[x] Bug fix (template)
[ ] New rule (template)
[ ] Changes an existing rule (template)
[ ] Add autofix to a rule
[ ] Add a CLI option
[ ] Add something to the core
[ ] Other, please explain:

Fixes #18261

What changes did you make? (Give an overview)

Updated condition for whether ignore:false (--no-ignore) should apply to a config object to check if the object has any other keys (excluding name) instead of just checking if it has the files key.

Is there anything you'd like reviewers to focus on?

@mdjermanovic mdjermanovic added bug ESLint is working incorrectly core Relates to ESLint's core APIs and features accepted There is consensus among the team that this change meets the criteria for inclusion labels Apr 13, 2024
@mdjermanovic mdjermanovic requested a review from a team as a code owner April 13, 2024 21:32
Copy link

netlify bot commented Apr 13, 2024

Deploy Preview for docs-eslint ready!

Name Link
🔨 Latest commit 8b46af6
🔍 Latest deploy log https://app.netlify.com/sites/docs-eslint/deploys/661af9ed966317000882311a
😎 Deploy Preview https://deploy-preview-18334--docs-eslint.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Member

@aladdin-add aladdin-add left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Would like another review before merging.

Copy link
Member

@fasttime fasttime left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@fasttime fasttime merged commit 09675e1 into main Apr 15, 2024
18 checks passed
@fasttime fasttime deleted the issue18261 branch April 15, 2024 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted There is consensus among the team that this change meets the criteria for inclusion bug ESLint is working incorrectly core Relates to ESLint's core APIs and features
Projects
Status: Complete
Development

Successfully merging this pull request may close these issues.

Bug: --no-ignore applies to non-global ignores
3 participants