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

Remove unsafe_html lint rule #34

Merged
merged 1 commit into from
Oct 29, 2024
Merged

Conversation

srawlins
Copy link
Contributor

@srawlins srawlins commented Oct 24, 2024

The unsafe_html lint rule was not meant for external usage. It was implemented for internal usage, before there was a set of internal lint rules.

This rule is not maintained, and does not have any external design. It is also meant to be used with cannot-ignore and in a VCS where specific owners have rights to specific files. None of this applies to this repo. Additionally, the rule only helps with dart:html elements, which is a library that is not imported anywhere in this repository.

See also dart-lang/sdk#57099 and flutter/flutter#157530

The unsafe_html lint rule was not meant for external usage. It was implemented for internal usage, before there was a set of internal lint rules.

This rule is not maintained, and does not have any external design. It is also meant to be used with cannot-ignore and in a VCS where specific owners have rights to specific files. None of this applies to this repo. Additionally, the rule only helps with dart:html elements, which is a library that is not imported anywhere in the flutter/flutter repository.
@srawlins
Copy link
Contributor Author

CC @marcglasberg this PR is blocking a Dart change to remove the unsafe_html lint rule. Please review ASAP.

@marcglasberg marcglasberg merged commit e32fabf into marcglasberg:master Oct 29, 2024
@srawlins srawlins deleted the patch-1 branch October 29, 2024 21:01
@srawlins srawlins mentioned this pull request Nov 15, 2024
15 tasks
srawlins added a commit to flutter/tests that referenced this pull request Nov 6, 2024
e32fabf854927bb4c0c0284624bf30c20c4aab8d includes marcglasberg/assorted_layout_widgets#34, a fix to unblock removing the `unsafe_html` lint rule.
auto-submit bot pushed a commit to flutter/tests that referenced this pull request Nov 6, 2024
…b8d (#422)

e32fabf854927bb4c0c0284624bf30c20c4aab8d includes marcglasberg/assorted_layout_widgets#34, a fix to unblock removing the `unsafe_html` lint rule, https://github.com/dart-lang/linter/issues/5001
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