Skip to content

lint: Enable no_literal_bool_comparisons #312

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
merged 1 commit into from
Sep 27, 2023

Conversation

gnprice
Copy link
Member

@gnprice gnprice commented Sep 26, 2023

Docs:
https://dart.dev/tools/linter-rules/no_literal_bool_comparisons


I noticed this from #305 (comment) .

It's possible we should make a pass of enabling a swath of the same rules that are applied in the Flutter repo. But it looks like so far this is only the second one that's come up that we want to enable (that wasn't already through the include we got from the flutter create template); so as long as those are few and far between, that's probably not worth it.

@chrisbobbe chrisbobbe merged commit 7b5f87a into zulip:main Sep 27, 2023
@chrisbobbe
Copy link
Collaborator

Thanks! Merged.

@gnprice gnprice deleted the pr-lint-no-literal-bool-comparisons branch September 28, 2023 00:13
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