Skip to content
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

Merged
merged 5 commits into from
Nov 22, 2021
Merged

sort constructors first again #171

merged 5 commits into from
Nov 22, 2021

Conversation

M-A-D-A-R-A
Copy link
Contributor

Fixed #149

Fixes

  • sort constructors first

Also there were some Merged conflicts because of my previous PRs and Commits.

@manjotsidhu
Copy link
Member

Please format your code. flutter format .

@@ -6,7 +6,7 @@ analyzer:
linter:
rules:
# Make constructors the first thing in every class
sort_constructors_first: false
sort_constructors_first: true
Copy link
Member

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.

Copy link
Member

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

@coveralls
Copy link

coveralls commented Nov 21, 2021

Pull Request Test Coverage Report for Build 1486471110

  • 169 of 173 (97.69%) changed or added relevant lines in 35 files are covered.
  • 14 unchanged lines in 13 files lost coverage.
  • Overall coverage remained the same at 73.545%

Changes Missing Coverage Covered Lines Changed/Added Lines %
lib/ui/views/about/about_privacy_policy_view.dart 1 2 50.0%
lib/ui/views/ib/components/ib_pop_quiz.dart 0 1 0.0%
lib/ui/views/projects/edit_project_view.dart 0 1 0.0%
lib/ui/views/projects/project_preview_fullscreen_view.dart 0 1 0.0%
Files with Coverage Reduction New Missed Lines %
lib/models/dialog_models.dart 1 50.0%
lib/ui/components/cv_add_icon_button.dart 1 0%
lib/ui/views/ib/builders/ib_chapter_contents_builder.dart 1 33.33%
lib/ui/views/ib/builders/ib_interaction_builder.dart 1 4.55%
lib/ui/views/ib/builders/ib_pop_quiz_builder.dart 1 16.67%
lib/ui/views/ib/builders/ib_subscript_builder.dart 1 10.0%
lib/ui/views/ib/builders/ib_superscript_builder.dart 1 10.0%
lib/ui/views/ib/components/ib_pop_quiz_button.dart 1 0%
lib/ui/views/ib/components/ib_pop_quiz.dart 1 0%
lib/ui/views/projects/edit_project_view.dart 1 0%
Totals Coverage Status
Change from base Build 1425188103: 0.0%
Covered Lines: 3853
Relevant Lines: 5239

💛 - Coveralls

@@ -6,7 +6,7 @@ analyzer:
linter:
rules:
# Make constructors the first thing in every class
sort_constructors_first: false
sort_constructors_first: true
Copy link
Member

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

@manjotsidhu manjotsidhu merged commit 051c308 into CircuitVerse:master Nov 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix and enable linter rules
3 participants