diff --git a/CHANGELOG.md b/CHANGELOG.md index 117455d..93be733 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.20.1 + +- Add `language/strict-casts` and remove `strong-mode` (Not behavior change) + ## 1.20.0 - Change minimum Dart version to '2.18.0' diff --git a/example/pubspec.lock b/example/pubspec.lock index 15e0b31..d21aa9a 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -54,7 +54,7 @@ packages: path: ".." relative: true source: path - version: "1.20.0" + version: "1.20.1" sky_engine: dependency: transitive description: flutter diff --git a/lib/analysis_options.yaml b/lib/analysis_options.yaml index cc4c3d6..fff78d9 100644 --- a/lib/analysis_options.yaml +++ b/lib/analysis_options.yaml @@ -1,12 +1,10 @@ include: package:flutter_lints/flutter.yaml analyzer: - strong-mode: - implicit-casts: false - implicit-dynamic: false errors: missing_required_param: warning missing_return: warning language: + strict-casts: true strict-inference: true strict-raw-types: true linter: diff --git a/pubspec.yaml b/pubspec.yaml index 81b6a50..5e3f4be 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: pedantic_mono description: '[mono edition] Recommended lints for Flutter apps, packages, and plugins to encourage good coding practices.' -version: 1.20.0 +version: 1.20.1 repository: https://github.com/mono0926/pedantic_mono funding: - https://github.com/sponsors/mono0926