-
Notifications
You must be signed in to change notification settings - Fork 198
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
[FR] Add the rules to analysis_options.yaml based on AppFlowy Flutter Style Guide #56
Comments
I can work on this. I have one question though, according to the style guide, we should declare the type for all variables. There is a lint for this: https://dart-lang.github.io/linter/lints/always_specify_types.html I want to know your opinion on this specific lint before I add it, since it's quite a lot of work. |
I think 'always_specify_types' is a bit redundant. There are other more useful lints that we can add now. Like, prefer_final_fields |
I'll do a PR for the rest of the lints once most of the PRs are merged, such that there is less work in rebasing. |
Description
We should add rules to
analysis_options.ymal
, located infrontend/analysis_options.yaml
, based on AppFlowy Flutter Style GuideImpact
This will help format the code and reduce the time required for code reviewing.
Additional Context
Reference
Please DO NOT close this issue. We will keep this issue open to continue discussing which rules should be added.
The text was updated successfully, but these errors were encountered: