-
Notifications
You must be signed in to change notification settings - Fork 2
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
Feat/add linter #116
Feat/add linter #116
Conversation
aaeb0fb
to
99ab12a
Compare
a5a68ea
to
8db8bd6
Compare
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! We should have done this since day 1 of the project. I totally agree with every lint. It make the code look a lot better :-)
@@ -144,6 +144,23 @@ fvm flutter run | |||
3. Api helper module instructions: https://github.com/Solvro/topwr-mobile/tree/main/lib/api_base | |||
4. We use `flutter_gen` for generating asset paths: https://pub.dev/packages/flutter_gen | |||
|
|||
# Before you push a commit |
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.
Very helpful actually!
# avoid_print: false # Uncomment to disable the `avoid_print` rule | ||
# prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule | ||
prefer_single_quotes: false | ||
prefer_double_quotes: true # I hate single quotes |
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.
Me to! Since I started with Flutter always wondered why not be specific XD
I would give it a try, we can adjust some rules etc if will cause any problems or inconveniences. Tell me what you think