-
Notifications
You must be signed in to change notification settings - Fork 97
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(lints): always_declare_return_types and prefer_if_elements_to_con… #153
Conversation
…ditional_expressions rules
Please don't use |
Doesn't make sense, try removing it. It will make no difference. |
Okay, Should I remove both the rules from analysis_options file? |
Yes just like you did in previous PR |
Okay and also remove the changes in all the dart files that I changed for that rule, right? or only remove rules from that file. |
Well you have asked the same question thrice in this PR and thrice in the previous PR. I just said to remove the rules from
|
…_to_conditional_expressions rules
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Format the code using: flutter format .
Pull Request Test Coverage Report for Build 1319397737
💛 - Coveralls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good work 👍
Refer #149
Fix lints for these rules:
Also here if I remove the "prefer_if_elements_to_conditional_expressions" rule then after flutter analyzing I am not getting warnings/errors that's why I am keeping that rule as it is.