Skip to content

Commit

Permalink
flutter lints
Browse files Browse the repository at this point in the history
  • Loading branch information
mrtnetwork committed May 30, 2024
1 parent 7211015 commit 2bf471b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include: package:lints/recommended.yaml

# include: package:lints/recommended.yaml
include: package:flutter_lints/flutter.yaml
# Additional information about this file can be found at
# https://dart.dev/guides/language/analysis-options
2 changes: 1 addition & 1 deletion lib/src/cash_token/cash_token.dart
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ class CashToken {
static Tuple<CashToken?, int> fromRaw(List<int> scriptBytes) {
if (scriptBytes.isEmpty ||
scriptBytes[0] != CashTokenUtils.cashTokenPrefix) {
return Tuple(null, 0);
return const Tuple(null, 0);
}
int cursor = 1;
List<int> id =
Expand Down
6 changes: 4 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,15 @@ environment:

dependencies:
blockchain_utils: ^3.0.0

# blockchain_utils:
# path: ../blockchain_utils


dev_dependencies:
test: ^1.25.2
lints: ^3.0.0
test: ^1.25.5
lints: ^4.0.0
flutter_lints: ^4.0.0


# For information on the generic Dart part of this file, see the
Expand Down

0 comments on commit 2bf471b

Please sign in to comment.