1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 22:09:06 +00:00

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.
This commit is contained in:
Parker Lougheed
2022-12-15 18:54:24 -06:00
committed by GitHub
parent db94e92a26
commit 7e11b89445
2 changed files with 6 additions and 6 deletions

View File

@@ -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:

View File

@@ -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: