From cc54fcc35efc7620f5e12ebb82c9ee328d5c95db Mon Sep 17 00:00:00 2001 From: Ryota Kobayashi <45661924+naipaka@users.noreply.github.com> Date: Mon, 16 Dec 2024 19:17:41 +0900 Subject: [PATCH 1/2] feat: Disable specify_nonobvious_local_variable_types to avoid conflicts (#80) --- packages/altive_lints/lib/altive_lints.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/altive_lints/lib/altive_lints.yaml b/packages/altive_lints/lib/altive_lints.yaml index c532ef3..363938a 100644 --- a/packages/altive_lints/lib/altive_lints.yaml +++ b/packages/altive_lints/lib/altive_lints.yaml @@ -58,6 +58,9 @@ linter: # Too verbose. Use avoid_final_parameters prefer_final_parameters: false + # Conflicts with `omit_local_variable_types` + specify_nonobvious_local_variable_types: false + # Incompatible with `prefer_final_locals` # Having immutable local variables makes larger functions more predictable # so we will use `prefer_final_locals` instead. From 90b9de0981478ec87756605ee1e8f1f5e013cd4d Mon Sep 17 00:00:00 2001 From: Ryunosuke Muramatsu Date: Mon, 16 Dec 2024 19:22:13 +0900 Subject: [PATCH 2/2] chore(release): publish packages - altive_lints@1.17.0 --- packages/altive_lints/CHANGELOG.md | 4 ++++ packages/altive_lints/pubspec.yaml | 2 +- packages/diffscrape/pubspec.yaml | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/altive_lints/CHANGELOG.md b/packages/altive_lints/CHANGELOG.md index 597d851..850e40d 100644 --- a/packages/altive_lints/CHANGELOG.md +++ b/packages/altive_lints/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.17.0 + + - **FEAT**: Disable specify_nonobvious_local_variable_types to avoid conflicts ([#80](https://github.com/altive/altive_lints/issues/80)). ([cc54fcc3](https://github.com/altive/altive_lints/commit/cc54fcc35efc7620f5e12ebb82c9ee328d5c95db)) + ## 1.16.0 - **FIX**: No warning if the number of elements in the spread operator using the if statement is more than two. ([#74](https://github.com/altive/altive_lints/issues/74)). ([ad65c006](https://github.com/altive/altive_lints/commit/ad65c00659977b511ef4f6b0dbf9c72647953584)) for `avoid_single_child`. diff --git a/packages/altive_lints/pubspec.yaml b/packages/altive_lints/pubspec.yaml index 0e13e97..6a8b1a9 100644 --- a/packages/altive_lints/pubspec.yaml +++ b/packages/altive_lints/pubspec.yaml @@ -2,7 +2,7 @@ name: altive_lints description: >- Provides `all_lint_rules.yaml` that activates all rules and `altive_lints.yaml` with Altive recommended rule selection. -version: 1.16.0 +version: 1.17.0 homepage: https://altive.dev repository: https://github.com/altive/altive_lints issue_tracker: https://github.com/altive/altive_lints/issues diff --git a/packages/diffscrape/pubspec.yaml b/packages/diffscrape/pubspec.yaml index 47286d3..3c54493 100644 --- a/packages/diffscrape/pubspec.yaml +++ b/packages/diffscrape/pubspec.yaml @@ -13,5 +13,5 @@ dependencies: http: ^1.2.1 dev_dependencies: - altive_lints: ^1.16.0 + altive_lints: ^1.17.0 test: ^1.25.7