Skip to content

Commit 1fc9177

Browse files
updates for dart3 (#20)
* updates for dart3 * bump version * add replacement * fix accidental change
1 parent 006b0ae commit 1fc9177

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

lib/analysis_options.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ analyzer:
2525
# industry practices.
2626
plugins:
2727
- dart_code_metrics
28-
strong-mode:
28+
language:
2929
# We've seen errors tied to use of implicit operations similar to the ones described in
3030
# https://dart.dev/guides/language/analysis-options#enabling-additional-type-checks.
3131
# When we do things explicitly there is less room for errors.
32-
implicit-casts: false
33-
implicit-dynamic: false
32+
strict-casts: true
33+
strict-raw-types: true
3434

3535
errors:
3636
missing_required_param: error

pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ name: solid_lints
22
description:
33
Lints for Dart and Flutter based on software industry standards and best
44
practices.
5-
version: 0.0.14
5+
version: 0.0.15
66
homepage: https://github.com/solid-software/solid_lints/
77

88
environment:
9-
sdk: '>=2.14.4 <3.0.0'
9+
sdk: '>=2.14.4 <4.0.0'
1010

1111
dependencies:
1212
dart_code_metrics: ^4.16.0

0 commit comments

Comments
 (0)