Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/dart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
--lcov
--in=coverage
--out=coverage.lcov
--packages=.dart_tool/package_config.json
--packages=../../.dart_tool/package_config.json
--report-on=../cli/lib/
--report-on=../cli_client/lib/
--report-on=../client/lib/
Expand Down
8 changes: 8 additions & 0 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
include: package:very_good_analysis/analysis_options.yaml
linter:
rules:
# An experimental rule that very_good_analysis shouldn't have on.
specify_nonobvious_property_types: false
# This lint is wrong. It changes behavior to pass the future
# out, making exceptions happen in the outer scope.
unnecessary_await_in_return: false
3 changes: 2 additions & 1 deletion cspell.config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,5 @@ words:
- MICROABRASIONS
- FEBA
- newtype
- contentful
- contentful
- specify_nonobvious_property_types
2 changes: 1 addition & 1 deletion packages/cli/analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This file configures the static analysis results for your project (errors,
# warnings, and lints).

include: package:very_good_analysis/analysis_options.yaml
include: ../../analysis_options.yaml

# For more information about the core and recommended set of lints, see
# https://dart.dev/go/core-lints
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/bin/market_price_freshness.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Future<void> command(Database db, ArgResults argResults) async {
String d(num seconds) =>
approximateDuration(Duration(seconds: seconds.toInt()));
logger.info(
'freshness: {average: ${d(s.average)}, '
'freshness: {average: ${d(s.mean)}, '
'median: ${d(s.median)}, '
'min: ${d(s.min)}, '
'max: ${d(s.max)}, '
Expand Down
Loading