Skip to content

Commit

Permalink
Update and fix lints (#1442)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevmoo authored Aug 8, 2024
1 parent 27df699 commit 9ccbbb2
Show file tree
Hide file tree
Showing 9 changed files with 3 additions and 18 deletions.
1 change: 0 additions & 1 deletion _test_yaml/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ dev_dependencies:
build_runner: ^2.2.1
build_verify: ^3.0.0
checked_yaml: ^2.0.4-wip
dart_flutter_team_lints: ^3.0.0
json_annotation: ^4.9.0
json_serializable: ^6.8.0
path: ^1.8.2
Expand Down
1 change: 0 additions & 1 deletion checked_yaml/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ dependencies:
dev_dependencies:
build_runner: ^2.0.6
build_verify: ^3.0.0
dart_flutter_team_lints: ^3.0.0
json_serializable: ^6.0.0
path: ^1.8.0
test: ^1.17.10
Expand Down
3 changes: 0 additions & 3 deletions example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ dev_dependencies:
# Used by tests. Not required to use `json_serializable`.
build_verify: ^3.0.0

# Not required to use `json_serializable`.
dart_flutter_team_lints: ^3.0.0

# REQUIRED!
json_serializable: ^6.8.0

Expand Down
2 changes: 1 addition & 1 deletion json_annotation/lib/src/json_converter.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/// [T] is the data type you'd like to convert to and from.
///
/// [S] is the type of the value stored in JSON. It must be a valid JSON type
/// such as [String], [int], or [Map<String, dynamic>].
/// such as [String], [int], or [Map]`<String, dynamic>`.
///
///
/// [JsonConverter]s can be placed either on the class:
Expand Down
2 changes: 1 addition & 1 deletion json_annotation/lib/src/json_serializable.dart
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ enum FieldRename {
)
@Target({TargetKind.classType})
class JsonSerializable {
/// If `true`, [Map] types are *not* assumed to be [Map<String, dynamic>]
/// If `true`, [Map] types are *not* assumed to be [Map]`<String, dynamic>`
/// – which is the default type of [Map] instances return by JSON decode in
/// `dart:convert`.
///
Expand Down
6 changes: 0 additions & 6 deletions json_annotation/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,3 @@ resolution: workspace

dependencies:
meta: ^1.4.0

dev_dependencies:
dart_flutter_team_lints: ^3.0.0
# When changing JsonSerializable class.
# build_runner: ^2.0.0
# json_serializable: any
1 change: 0 additions & 1 deletion json_serializable/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ dev_dependencies:
path: ../shared_test
build_runner: ^2.4.6
build_verify: ^3.0.0
dart_flutter_team_lints: ^3.0.0
dart_style: ^2.3.2
logging: ^1.0.0
source_gen_test: ^1.0.6
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ environment:
publish_to: none

dev_dependencies:
dart_flutter_team_lints: ^3.1.0
dart_flutter_team_lints: ^3.2.0
workspace:
- _test_yaml
- checked_yaml
Expand Down
3 changes: 0 additions & 3 deletions shared_test/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,3 @@ resolution: workspace
dependencies:
stack_trace: ^1.10.0
test: ^1.6.0

dev_dependencies:
dart_flutter_team_lints: ^3.0.0

0 comments on commit 9ccbbb2

Please sign in to comment.