-
Notifications
You must be signed in to change notification settings - Fork 97
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
sort constructors first again #171
Conversation
Please format your code. |
analysis_options.yaml
Outdated
@@ -6,7 +6,7 @@ analyzer: | |||
linter: | |||
rules: | |||
# Make constructors the first thing in every class | |||
sort_constructors_first: false | |||
sort_constructors_first: true |
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.
This change is 100% correct and I would like to appreciate your effort for understanding the rules. Another tip for you is that if we don't specify rule in this file, it is automatically set to true. It means, we can even remove this entire line and rule will still be enabled.
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.
@M-A-D-A-R-A So it would be better if you remove this line
analysis_options.yaml
Outdated
@@ -6,7 +6,7 @@ analyzer: | |||
linter: | |||
rules: | |||
# Make constructors the first thing in every class | |||
sort_constructors_first: false | |||
sort_constructors_first: true |
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.
@M-A-D-A-R-A So it would be better if you remove this line
Fixed #149
Fixes
Also there were some Merged conflicts because of my previous PRs and Commits.