Skip to content

Fix: Ensure require-meta-* rules test null / undefined property values #164

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

Merged

Conversation

bmish
Copy link
Member

@bmish bmish commented Jul 11, 2021

We need to ensure that the rules correctly handle null / undefined as the value of the meta properties since these values are commonly used as placeholder values.

Fixes one bug and adds test coverage.

@bmish bmish force-pushed the meta-property-undefined-null branch from 9f296c2 to 421b2a7 Compare July 11, 2021 17:42
@bmish bmish changed the title Test: Ensure require-meta-* rules test null / undefined property values Fix: Ensure require-meta-* rules test null / undefined property values Jul 11, 2021
Copy link
Contributor

@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.

💯

@aladdin-add
Copy link
Contributor

a conflict needs to be resolved.

We need to ensure that the rules correctly handle `null` / `undefined` as the value of the meta properties since these values are commonly used as placeholder values.
@bmish bmish force-pushed the meta-property-undefined-null branch from 421b2a7 to 387e0b6 Compare July 12, 2021 02:49
@bmish
Copy link
Member Author

bmish commented Jul 12, 2021

Fixed.

@aladdin-add aladdin-add merged commit 990f8f6 into eslint-community:master Jul 12, 2021
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 this pull request may close these issues.

2 participants