Skip to content

feat: Migrate linting from flutter_lints to lints/recommended, update dev dependencies, and ignore pubspec_overrides.yaml files.#460

Merged
divyanshub024 merged 1 commit intodevfrom
dv/cli-chore
Mar 1, 2026
Merged

feat: Migrate linting from flutter_lints to lints/recommended, update dev dependencies, and ignore pubspec_overrides.yaml files.#460
divyanshub024 merged 1 commit intodevfrom
dv/cli-chore

Conversation

@divyanshub024
Copy link
Member

@divyanshub024 divyanshub024 commented Mar 1, 2026

Description

Migrate linting from flutter_lints to lints/recommended, update dev dependencies, and ignore pubspec_overrides.yaml files.

Related Issues

Closes #

Type of Change

  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Code refactor
  • Build configuration change
  • Documentation
  • Chore

Summary by CodeRabbit

  • Chores
    • Updated stac_core package to be a pure Dart package, removing Flutter-specific dependencies and analysis configuration.
    • Removed local development path overrides from dependency configuration across packages and examples.
    • Updated .gitignore to track override configuration files.

…date dev dependencies, and ignore `pubspec_overrides.yaml` files.
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 1, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info

Configuration used: defaults

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between f530e90 and 0c1468c.

📒 Files selected for processing (11)
  • .gitignore
  • examples/counter_example/pubspec_overrides.yaml
  • examples/movie_app/pubspec_overrides.yaml
  • examples/stac_gallery/pubspec_overrides.yaml
  • packages/stac/pubspec_overrides.yaml
  • packages/stac_cli/.gitignore
  • packages/stac_cli/pubspec_overrides.yaml
  • packages/stac_core/analysis_options.yaml
  • packages/stac_core/pubspec.yaml
  • packages/stac_core/pubspec_overrides.yaml
  • packages/stac_webview/pubspec_overrides.yaml
💤 Files with no reviewable changes (8)
  • packages/stac_cli/pubspec_overrides.yaml
  • packages/stac_webview/pubspec_overrides.yaml
  • examples/stac_gallery/pubspec_overrides.yaml
  • packages/stac_cli/.gitignore
  • examples/counter_example/pubspec_overrides.yaml
  • packages/stac_core/pubspec_overrides.yaml
  • examples/movie_app/pubspec_overrides.yaml
  • packages/stac/pubspec_overrides.yaml

📝 Walkthrough

Walkthrough

This PR removes Melos-managed local dependency overrides across the monorepo and refactors stac_core to eliminate Flutter dependencies, replacing them with standard Dart testing and linting libraries.

Changes

Cohort / File(s) Summary
Git Configuration
.gitignore, packages/stac_cli/.gitignore
Added pubspec_overrides.yaml to root .gitignore; removed Melos override comment and pubspec_overrides.yaml entry from stac_cli/.gitignore to enable tracking of overrides.
Example Dependencies Cleanup
examples/counter_example/pubspec_overrides.yaml, examples/movie_app/pubspec_overrides.yaml, examples/stac_gallery/pubspec_overrides.yaml
Removed Melos-managed dependency overrides that pointed stac, stac_core, stac_framework, stac_logger (and stac_webview in gallery) to local paths.
Package Dependencies Cleanup
packages/stac/pubspec_overrides.yaml, packages/stac_cli/pubspec_overrides.yaml, packages/stac_core/pubspec_overrides.yaml, packages/stac_webview/pubspec_overrides.yaml
Removed Melos-managed local path overrides for multiple internal dependencies across four packages.
Stac_Core Flutter Removal
packages/stac_core/analysis_options.yaml, packages/stac_core/pubspec.yaml
Replaced flutter_lints with lints in analysis_options; removed Flutter section, flutter_test, and flutter_lints from pubspec, adding standard test and lints dev dependencies.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly related PRs

Suggested reviewers

  • Potatomonsta

Poem

🐰 The overrides fade like morning dew,
Local paths bid their fond adieu!
Flutter takes a graceful bow,
Standard darts shall serve us now—
Clean configs, what a lovely sight! ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title comprehensively describes all major changes in the PR: migrating linting configuration, updating dev dependencies, and ignoring pubspec_overrides.yaml files.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch dv/cli-chore

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@divyanshub024 divyanshub024 merged commit d81a0e9 into dev Mar 1, 2026
6 checks passed
@divyanshub024 divyanshub024 deleted the dv/cli-chore branch March 1, 2026 18:47
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.

1 participant