Add Linter rules to reduce code review time #269
doannimble
started this conversation in
RFCs
Replies: 1 comment
-
I voted for |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Issue
We usually make the mistake of lint check such as missing trailing commas, splash for document comments, preferring single quotes, etc...
It will increase the code review time since we need more effort to review and fix these.
Solution
Following https://dart.dev/tools/linter-rules, we can pick and enable appropriate lint check rules. Then run
dart fix --apply
to do the quick fix.Who Benefits?
Developers
What's Next?
analysis_options.yaml
by https://dart.dev/tools/linter-rulesdart fix --apply
(https://dart.dev/tools/dart-fix)2 votes ·
Beta Was this translation helpful? Give feedback.
All reactions