Feature/migration to proper linter setup#1
Merged
Conversation
…tion Replace flutter_lints with very_good_analysis and add dart_code_linter (analyzer-12 compatible, loaded via the analysis_options plugins block alongside riverpod_lint). Enable no-magic-number + per-function/class size/complexity metrics, with CustomPainter and theme-token exclusions. Keep directives_ordering, drop cascade_invocations; scope public_member_api_docs to real APIs (token/DTO/infra files excluded via ignore_for_file). Begin remediation: core widgets and onboarding welcome documented, magic numbers extracted to named constants.
…d constants part 2
…o named constants part 3
… numbers extracted to named constants part 3
…gate CI Finish no-magic-number remediation (learn/game-type/premium/settings + token mappings to AppSpacing); raise source-lines-of-code metric to 90 for declarative build methods; clear very_good full-tree analyze (disable sort_pub_dependencies, wrap long test lines); add dart_code_linter metrics step to CI; update CLAUDE/AGENTS/README to reflect lint-enforced magic numbers + per-function size.
… widgets Decompose learn / lesson-completion / game-type-practice / module-detail / path-node files (271–437 lines) into one-public-widget-per-file units; extract LessonCompletionBody as a pure (DB-free) view + reward DTO.
maximsan
force-pushed
the
feature/migration-to-proper-linter-setup
branch
from
June 13, 2026 18:22
e31c1c8 to
c850a0d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.