diff --git a/.github/workflows/dcm.yml b/.github/workflows/dcm.yml index 80a23c40..9a19b832 100644 --- a/.github/workflows/dcm.yml +++ b/.github/workflows/dcm.yml @@ -16,7 +16,7 @@ jobs: uses: CQLabs/setup-dcm@v1 with: github_token: ${{ secrets.GITHUB_TOKEN }} - version: "1.26.1" + version: "1.26.2" - uses: ./.github/actions/setup diff --git a/mews_pedantic/lib/analysis_options.yaml b/mews_pedantic/lib/analysis_options.yaml index a6faa658..7d15165b 100644 --- a/mews_pedantic/lib/analysis_options.yaml +++ b/mews_pedantic/lib/analysis_options.yaml @@ -459,7 +459,7 @@ dart_code_metrics: # - 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 ] + prefixes: [ is, are, was, were, has, have, had, can, should, will, do, does, did, allow, show, use, hide, only, enable, contains ] - prefer-both-inlining-annotations # - prefer-bytes-builder # - prefer-class-destructuring @@ -515,7 +515,7 @@ dart_code_metrics: # - prefer-single-declaration-per-file - prefer-specific-cases-first # - prefer-static-class - # - prefer-static-method + - prefer-static-method - prefer-switch-expression - prefer-switch-with-enums - prefer-switch-with-sealed-classes