Use curly_braces_in_flow_control_structures for sample code#104617
Use curly_braces_in_flow_control_structures for sample code#104617guidezpl merged 4 commits intoflutter:masterfrom guidezpl:curlyy
curly_braces_in_flow_control_structures for sample code#104617Conversation
guidezpl
left a comment
There was a problem hiding this comment.
Diff to review is guidezpl@fffe900, the rest is from updating packages.
|
The addition to |
Likely because of this: guidezpl@fffe900#r74497341 |
|
Looks like the only difference is that flutter_lints is enforcing the I actually prefer the stricter set of lints we have enabled in the repository over flutter_lints because I think it produces even more readable sample code (e.g. you have to type everything). I believe, every lint that's part of flutter_lints is also already enforced in the repository (with the exception of the curly lint mentioned, but that's hopefully about to change). So, code that's clean under the repository lints should also be clean under flutter_lints (but not necessarily the other way around). So, overall, I think switching the samples to |
|
Makes sense, I'll repurpose this to just fix the |
This reverts commit 14da3c6.
flutter_lints for sample codecurly_braces_in_flow_control_structures for sample code
Part of #104498
Pre-launch Checklist
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.