Skip to content

Commit

Permalink
Add language/strict-casts and remove strong-mode (Not behavior ch…
Browse files Browse the repository at this point in the history
…ange)
  • Loading branch information
mono0926 committed Dec 17, 2022
1 parent 3d6b5a3 commit a26b316
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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'
Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ packages:
path: ".."
relative: true
source: path
version: "1.20.0"
version: "1.20.1"
sky_engine:
dependency: transitive
description: flutter
Expand Down
4 changes: 1 addition & 3 deletions lib/analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit a26b316

Please sign in to comment.