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-window-prefix): switch from allow-list to deny-list #851

Merged
merged 4 commits into from Sep 9, 2021

Conversation

magurotuna
Copy link
Member

This lets no-window-prefix rule use a deny-list instead of allow-list when checking if the property is considered valid or not.

It's possible to check if the deny-list is always up-to-date by running tools/generate_no_window_prefix_deny_list.ts in CI, but I am not sure if such a rigid approach is needed.

Fixes #850

Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

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

@lucacasonato does this change satisfy your needs?

Copy link
Member

@lucacasonato lucacasonato left a comment

Choose a reason for hiding this comment

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

Looks great! Thanks for the quick fix @magurotuna :-)

Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

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

LGTM, thank you @magurotuna

@bartlomieju bartlomieju merged commit 12f0910 into denoland:main Sep 9, 2021
@magurotuna magurotuna deleted the no-window-prefix/deny-list branch September 9, 2021 16:00
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.

no-window-prefix is too aggressive
3 participants