Skip to content

chore: move to latest depes, enable and apply dart_flutter_team_lints#204

Merged
kevmoo merged 3 commits intomainfrom
latest_deps
Mar 31, 2026
Merged

chore: move to latest depes, enable and apply dart_flutter_team_lints#204
kevmoo merged 3 commits intomainfrom
latest_deps

Conversation

@kevmoo
Copy link
Copy Markdown
Collaborator

@kevmoo kevmoo commented Mar 27, 2026

  • Move all dependencies to their latest version
    • Used --tighten command to bump min versions to bits that work on the supported SDK
  • Added dart_flutter_team_lints to workspace root pubspec.yaml
  • Centralized analysis_options.yaml in the workspace root
  • Replaced all_lint_rules.yaml with standard lint set
  • Removed redundant analysis_options.yaml from packages
  • Un-ignored previously ignored lints across the codebase
  • Applied fixes for newly enabled lints, including:
    • Replacing null-checks in lists with spread operator
    • Standardizing ignore comment usage
    • Removing duplicate/redundant imports
    • Updating dependency constraints
    • Fixing local variable shadowing
    • Removing private typedefs

@github-actions
Copy link
Copy Markdown

Coverage Report

✅ Coverage 74.56% meets 40% threshold

Total Coverage: 74.56%
Lines Covered: 5013/6723

Package Breakdown

Package Coverage
dart_firebase_admin 72.42%
google_cloud_firestore 77.00%

Minimum threshold: 40%

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request migrates the project to use package:dart_flutter_team_lints, updates various dependency versions, and adopts workspace resolution for example packages. It also includes a significant cleanup of manual lint ignores and reorders exports alphabetically across several files. However, the changes introduce invalid Dart syntax in multiple locations by attempting to use a ? prefix for map values and list elements (e.g., 'key': ?value or [?element]) instead of the standard collection if syntax. These syntax errors must be corrected for the code to compile.

@kevmoo kevmoo requested review from Ehesp, Lyokone and demolaf March 30, 2026 18:11
@kevmoo
Copy link
Copy Markdown
Collaborator Author

kevmoo commented Mar 30, 2026

/gemini review

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request migrates the project to package:dart_flutter_team_lints, updates various dependencies, and standardizes workspace configurations for example applications. While the migration successfully removes numerous manual lint ignores and standardizes the codebase, it introduces several critical syntax errors. Specifically, the use of invalid shorthand notation for conditional elements in map and list literals (such as ? and ...?) will result in compilation failures across multiple files.

- Move all dependencies to their latest version
  - Used `--tighten` command to bump min versions to bits that work on the supported SDK
- Added `dart_flutter_team_lints` to workspace root `pubspec.yaml`
- Centralized `analysis_options.yaml` in the workspace root
- Replaced `all_lint_rules.yaml` with standard lint set
- Removed redundant `analysis_options.yaml` from packages
- Un-ignored previously ignored lints across the codebase
- Applied fixes for newly enabled lints, including:
  - Replacing `null`-checks in lists with spread operator
  - Standardizing `ignore` comment usage
  - Removing duplicate/redundant imports
  - Updating dependency constraints
  - Fixing local variable shadowing
  - Removing private typedefs
Copy link
Copy Markdown
Member

@demolaf demolaf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kevmoo kevmoo merged commit 14341ff into main Mar 31, 2026
2 checks passed
@kevmoo kevmoo deleted the latest_deps branch March 31, 2026 16:20
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.

2 participants