mirror of
https://github.com/flutter/samples.git
synced 2025-11-09 06:18:49 +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:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user