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

feat!: [DX-3563] Upgrade to DCM 1.25.0 #717

Merged
merged 1 commit into from
Dec 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/dcm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
uses: CQLabs/setup-dcm@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
version: "1.24.2"
version: "1.25.0"

- uses: ./.github/actions/setup

Expand Down
14 changes: 14 additions & 0 deletions mews_pedantic/lib/analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,7 @@ dart_code_metrics:
- avoid-shadowed-extension-methods
# - avoid-shadowing
# - avoid-similar-names
# - avoid-single-field-destructuring
# - avoid-slow-collection-methods
# - avoid-substring
- avoid-suspicious-super-overrides
Expand All @@ -388,6 +389,7 @@ dart_code_metrics:
- avoid-unnecessary-negations
- avoid-unnecessary-nullable-return-type
- avoid-unnecessary-overrides
- avoid-unnecessary-patterns
- avoid-unnecessary-reassignment
- avoid-unnecessary-return
- avoid-unnecessary-super
Expand Down Expand Up @@ -446,6 +448,7 @@ dart_code_metrics:
- prefer-add-all
# - prefer-addition-subtraction-assignments
- prefer-any-or-every
# - prefer-assigning-await-expressions
# - prefer-async-await
- prefer-boolean-prefixes:
prefixes: [ is, are, was, were, has, have, had, can, should, will, do, does, did, allow, show, use, hide, only, enable ]
Expand Down Expand Up @@ -513,6 +516,7 @@ dart_code_metrics:
# - prefer-unwrapping-future-or
# - prefer-visible-for-testing-on-members
- prefer-wildcard-pattern
# - record-fields-ordering
# - tag-name
# - unnecessary-trailing-comma
- use-existing-variable
Expand Down Expand Up @@ -549,6 +553,7 @@ dart_code_metrics:
# - prefer-action-button-tooltip
- prefer-center-over-align
- prefer-const-border-radius
- prefer-container
- prefer-correct-edge-insets-constructor
- prefer-dedicated-media-query-methods
- prefer-define-hero-tag
Expand Down Expand Up @@ -576,16 +581,25 @@ dart_code_metrics:

# Bloc

- avoid-bloc-public-fields
- avoid-bloc-public-methods
- avoid-cubits
# - avoid-duplicate-bloc-event-handlers
# - avoid-empty-build-when
- avoid-existing-instances-in-bloc-provider
- avoid-instantiating-in-bloc-value-provider
- avoid-passing-bloc-to-bloc
- avoid-passing-build-context-to-blocs
# - avoid-returning-value-from-cubit-methods
# - check-is-not-closed-after-async-gap
- emit-new-bloc-state-instances
- handle-bloc-event-subclasses
- prefer-bloc-event-suffix
- prefer-bloc-extensions
- prefer-bloc-state-suffix
- prefer-correct-bloc-provider
# - prefer-immutable-bloc-events
# - prefer-immutable-bloc-state
- prefer-multi-bloc-provider
- prefer-sealed-bloc-events
- prefer-sealed-bloc-state
Expand Down
Loading