diff --git a/dev/cli_tests/pubspec.yaml b/dev/cli_tests/pubspec.yaml index 86a2b4d7c..63ab96e93 100644 --- a/dev/cli_tests/pubspec.yaml +++ b/dev/cli_tests/pubspec.yaml @@ -8,4 +8,4 @@ dependencies: path: ^1.8.3 dev_dependencies: - leancode_lint: ^14.1.0 + leancode_lint: ^14.2.0 diff --git a/dev/e2e_app/pubspec.lock b/dev/e2e_app/pubspec.lock index c027c1a8d..7b1d3625f 100644 --- a/dev/e2e_app/pubspec.lock +++ b/dev/e2e_app/pubspec.lock @@ -388,10 +388,10 @@ packages: dependency: "direct dev" description: name: leancode_lint - sha256: "24c7380d0d46b3927614ca86c82ba8b7373e3906e5227b9aceb748a78fd2c387" + sha256: "7db4d666e7cf8ac138f7e608e4e429b6cdd57ff110751bf08c3dc3f1a4ed9756" url: "https://pub.dev" source: hosted - version: "12.1.0" + version: "14.2.0" logging: dependency: transitive description: @@ -446,7 +446,7 @@ packages: path: "../../packages/patrol" relative: true source: path - version: "3.11.0" + version: "3.11.1" patrol_finders: dependency: transitive description: @@ -725,5 +725,5 @@ packages: source: hosted version: "3.1.2" sdks: - dart: ">=3.3.0 <4.0.0" - flutter: ">=3.22.0" + dart: ">=3.5.0 <4.0.0" + flutter: ">=3.24.0" diff --git a/dev/e2e_app/pubspec.yaml b/dev/e2e_app/pubspec.yaml index a894aee25..a62f5fef1 100644 --- a/dev/e2e_app/pubspec.yaml +++ b/dev/e2e_app/pubspec.yaml @@ -22,7 +22,7 @@ dependencies: dev_dependencies: flutter_test: sdk: flutter - leancode_lint: ^14.1.0 + leancode_lint: ^14.2.0 patrol: path: ../../packages/patrol diff --git a/packages/adb/pubspec.yaml b/packages/adb/pubspec.yaml index 6deebcadb..67a0e7616 100644 --- a/packages/adb/pubspec.yaml +++ b/packages/adb/pubspec.yaml @@ -9,7 +9,7 @@ environment: dev_dependencies: custom_lint: ^0.6.4 - leancode_lint: ^14.1.0 + leancode_lint: ^14.2.0 mocktail: ^1.0.1 test: ^1.24.9 diff --git a/packages/patrol/example/analysis_options.yaml b/packages/patrol/example/analysis_options.yaml index 4af9cbc42..5f56aca49 100644 --- a/packages/patrol/example/analysis_options.yaml +++ b/packages/patrol/example/analysis_options.yaml @@ -1 +1,5 @@ include: package:leancode_lint/analysis_options.yaml + +analyzer: + plugins: + - custom_lint diff --git a/packages/patrol/example/pubspec.yaml b/packages/patrol/example/pubspec.yaml index c9b8506c6..45da527da 100644 --- a/packages/patrol/example/pubspec.yaml +++ b/packages/patrol/example/pubspec.yaml @@ -31,7 +31,7 @@ dev_dependencies: flutter_native_splash: ^2.3.6 flutter_test: sdk: flutter - leancode_lint: ^14.1.0 + leancode_lint: ^14.2.0 patrol: path: .. diff --git a/packages/patrol/pubspec.yaml b/packages/patrol/pubspec.yaml index c4f189463..e253824a3 100644 --- a/packages/patrol/pubspec.yaml +++ b/packages/patrol/pubspec.yaml @@ -34,7 +34,7 @@ dev_dependencies: build_runner: ^2.4.6 custom_lint: ^0.6.4 json_serializable: ^6.7.1 - leancode_lint: ^14.1.0 + leancode_lint: ^14.2.0 flutter: plugin: diff --git a/packages/patrol_cli/pubspec.yaml b/packages/patrol_cli/pubspec.yaml index 3b734870c..d22f6745f 100644 --- a/packages/patrol_cli/pubspec.yaml +++ b/packages/patrol_cli/pubspec.yaml @@ -41,7 +41,7 @@ dev_dependencies: build_runner: ^2.4.6 custom_lint: ^0.6.4 fake_async: ^1.3.1 - leancode_lint: ^14.1.0 + leancode_lint: ^14.2.0 mocktail: ^1.0.1 test: ^1.24.9 diff --git a/packages/patrol_devtools_extension/pubspec.lock b/packages/patrol_devtools_extension/pubspec.lock index 496963d36..e3eb5bee4 100644 --- a/packages/patrol_devtools_extension/pubspec.lock +++ b/packages/patrol_devtools_extension/pubspec.lock @@ -351,10 +351,10 @@ packages: dependency: "direct dev" description: name: leancode_lint - sha256: "6e6500dac54ea3d0ad01f6e851a09b815f3d75f7e87bb9ab589d1fd19dd826f1" + sha256: "7db4d666e7cf8ac138f7e608e4e429b6cdd57ff110751bf08c3dc3f1a4ed9756" url: "https://pub.dev" source: hosted - version: "14.1.0" + version: "14.2.0" logging: dependency: transitive description: diff --git a/packages/patrol_devtools_extension/pubspec.yaml b/packages/patrol_devtools_extension/pubspec.yaml index 73d619187..6ab333b54 100644 --- a/packages/patrol_devtools_extension/pubspec.yaml +++ b/packages/patrol_devtools_extension/pubspec.yaml @@ -24,7 +24,7 @@ dev_dependencies: custom_lint: ^0.6.4 flutter_test: sdk: flutter - leancode_lint: ^14.1.0 + leancode_lint: ^14.2.0 flutter: uses-material-design: true diff --git a/packages/patrol_finders/example/analysis_options.yaml b/packages/patrol_finders/example/analysis_options.yaml index 98093f93d..fe5c62bc0 100644 --- a/packages/patrol_finders/example/analysis_options.yaml +++ b/packages/patrol_finders/example/analysis_options.yaml @@ -4,3 +4,7 @@ linter: rules: prefer_const_constructors: false avoid_print: false + +analyzer: + plugins: + - custom_lint diff --git a/packages/patrol_finders/example/pubspec.yaml b/packages/patrol_finders/example/pubspec.yaml index 139f731bd..3e88ceaf6 100644 --- a/packages/patrol_finders/example/pubspec.yaml +++ b/packages/patrol_finders/example/pubspec.yaml @@ -15,7 +15,7 @@ dependencies: dev_dependencies: flutter_test: sdk: flutter - leancode_lint: ^14.1.0 + leancode_lint: ^14.2.0 patrol_finders: path: ../ diff --git a/packages/patrol_finders/pubspec.yaml b/packages/patrol_finders/pubspec.yaml index 454001d92..6f7a567cb 100644 --- a/packages/patrol_finders/pubspec.yaml +++ b/packages/patrol_finders/pubspec.yaml @@ -22,4 +22,4 @@ dependencies: meta: ^1.10.0 dev_dependencies: - leancode_lint: ^14.1.0 + leancode_lint: ^14.2.0 diff --git a/packages/patrol_finders/test/patrol_finder_test.dart b/packages/patrol_finders/test/patrol_finder_test.dart index 27e3c1010..9e8ef5d56 100644 --- a/packages/patrol_finders/test/patrol_finder_test.dart +++ b/packages/patrol_finders/test/patrol_finder_test.dart @@ -1,3 +1,5 @@ +// It's just a test. We can ignore this rule here. +// ignore_for_file: avoid_single_child_in_multi_child_widgets import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:patrol_finders/src/custom_finders/custom_finders.dart'; diff --git a/packages/patrol_finders/test/patrol_tester_test.dart b/packages/patrol_finders/test/patrol_tester_test.dart index 3fb2a8635..879cd3183 100644 --- a/packages/patrol_finders/test/patrol_tester_test.dart +++ b/packages/patrol_finders/test/patrol_tester_test.dart @@ -1,3 +1,5 @@ +// It's just a test. We can ignore this rule here. +// ignore_for_file: avoid_single_child_in_multi_child_widgets import 'dart:async'; import 'package:flutter/material.dart'; diff --git a/packages/patrol_gen/pubspec.lock b/packages/patrol_gen/pubspec.lock index 21ae506a6..ad7185806 100644 --- a/packages/patrol_gen/pubspec.lock +++ b/packages/patrol_gen/pubspec.lock @@ -173,10 +173,10 @@ packages: dependency: "direct dev" description: name: leancode_lint - sha256: "6e6500dac54ea3d0ad01f6e851a09b815f3d75f7e87bb9ab589d1fd19dd826f1" + sha256: "7db4d666e7cf8ac138f7e608e4e429b6cdd57ff110751bf08c3dc3f1a4ed9756" url: "https://pub.dev" source: hosted - version: "14.1.0" + version: "14.2.0" logging: dependency: transitive description: diff --git a/packages/patrol_gen/pubspec.yaml b/packages/patrol_gen/pubspec.yaml index 6c80a4803..c022a5721 100644 --- a/packages/patrol_gen/pubspec.yaml +++ b/packages/patrol_gen/pubspec.yaml @@ -17,4 +17,4 @@ dependencies: dev_dependencies: custom_lint: ^0.6.4 - leancode_lint: ^14.1.0 + leancode_lint: ^14.2.0