Skip to content

Commit f764c4c

Browse files
chore(dependencies): update analysis options and add lints package
- Changed the analysis options to include recommended lints. - Added the lints package to dev_dependencies in pubspec.yaml. - Updated documentation comment in json_handler.dart for clarity.
1 parent 7c57e25 commit f764c4c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

analysis_options.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
include: package:flutter_lints/flutter.yaml
1+
include: package:lints/recommended.yaml
22

33
# Additional information about this file can be found at
44
# https://dart.dev/guides/language/analysis-options

lib/src/utils/json_handler.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ class JsonHandler {
229229
return result;
230230
}
231231

232-
/// Validates if a value can be safely cast to Map<String, dynamic>
232+
/// Validates if a value can be safely cast to Map&lt;String, dynamic&gt;
233233
static bool isValidJsonMap(dynamic value) {
234234
return value is Map<String, dynamic>;
235235
}

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ topics:
1010
- policy
1111
- engine
1212
- authorization
13-
publish_to: "https://pub.dev"
1413
# funding:
1514
# - https://github.com/sponsors/davidgarcia93
1615
# maintainers:
@@ -30,6 +29,7 @@ dev_dependencies:
3029
flutter_test:
3130
sdk: flutter
3231
flutter_lints: ^4.0.0
32+
lints: ^4.0.0
3333

3434
# For information on the generic Dart part of this file, see the
3535
# following page: https://dart.dev/tools/pub/pubspec

0 commit comments

Comments
 (0)