-
Notifications
You must be signed in to change notification settings - Fork 250
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
Adding flutter_lints #227
Adding flutter_lints #227
Conversation
I'll look through this. It's probably time to delete the spikes. One thing I'm noticing is a possible line-length difference. I have mine set to 120 in the IDE. Do you know if there's a way to set that in the lint rules? I think 80 is too short. |
I'll reformat for 120 |
Looks like configuring Dartfmt's line length is a non-starter: dart-lang/dart_style#918 I'd suggest adding a check to your Github Actions that checks if a dart format with line length of 120 changes things. Happy to add it to this PR if ya want. |
Sure, if you know where/how to add that then I'd say go for it. Thanks. |
Pulled the 120 char line length change into a separate PR: #229 |
@domesticmouse it looks like a number of tests broke with this PR. Any idea why? |
Looks like I |
Tests now pass locally. Hopefully it should also pass in CI. |
Non-netlify tests pass. No idea why the netlify tests are failing. Halp? |
The website build failures are unrelated to this, we can ignore them. I'll merge this in. |
Hey @matthew-carroll,
I tried adding flutter_lints, but the tests are failing. However, the reason is unmigrated code in the spikes directory, so I'm unsure what you want to do about that.
brett