Skip to content

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