Move to using analyzer strict modes instead of deprecated strong mode (#1531)

The strong mode options were already deprecated and are being removed in Dart 3.
pull/1535/head
Parker Lougheed 2 years ago committed by GitHub
parent db94e92a26
commit 7e11b89445
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,9 +1,9 @@
include: package:flutter_lints/flutter.yaml include: package:flutter_lints/flutter.yaml
analyzer: analyzer:
strong-mode: language:
implicit-casts: false strict-casts: true
implicit-dynamic: false strict-inference: true
linter: linter:
rules: rules:

@ -3,9 +3,9 @@ include: package:flutter_lints/flutter.yaml
analyzer: analyzer:
exclude: exclude:
- lib/src/data.g.dart - lib/src/data.g.dart
strong-mode: language:
implicit-casts: false strict-casts: true
implicit-dynamic: false strict-inference: true
linter: linter:
rules: rules:

Loading…
Cancel
Save