Skip to content

Commit

Permalink
Replace pedantic with lints package
Browse files Browse the repository at this point in the history
  • Loading branch information
Fox32 committed Oct 1, 2021
1 parent ab3a796 commit 4780805
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 13 deletions.
4 changes: 4 additions & 0 deletions prometheus_client/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.5.1

- Migrate from `pedantic` to `lints`

## 0.5.0

- Migrate to null-safety.
Expand Down
5 changes: 1 addition & 4 deletions prometheus_client/analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
# Defines a default set of lint rules enforced for
# projects at Google. For details and rationale,
# see https://github.com/dart-lang/pedantic#enabled-lints.
include: package:pedantic/analysis_options.yaml
include: package:lints/recommended.yaml
2 changes: 1 addition & 1 deletion prometheus_client/lib/format.dart
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ void write004(
sink.write(sample.labelNames[i]);
sink.write('="');
_writeEscapedLabelValue(sink, sample.labelValues[i]);
sink.write('\",');
sink.write('",');
}
sink.write('}');
}
Expand Down
4 changes: 2 additions & 2 deletions prometheus_client/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: prometheus_client
description: Dart implementation of the Prometheus client library providing metrics.
version: 0.5.0
version: 0.5.1
homepage: https://github.com/tentaclelabs/prometheus_client

environment:
Expand All @@ -10,5 +10,5 @@ dependencies:
collection: ^1.15.0

dev_dependencies:
pedantic: ^1.10.0
lints: ^1.0.1
test: ^1.16.0
4 changes: 4 additions & 0 deletions prometheus_client_shelf/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.5.1

- Migrate from `pedantic` to `lints`

## 0.5.0

- Integrate the latest `prometheus_client` version.
Expand Down
5 changes: 1 addition & 4 deletions prometheus_client_shelf/analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
# Defines a default set of lint rules enforced for
# projects at Google. For details and rationale,
# see https://github.com/dart-lang/pedantic#enabled-lints.
include: package:pedantic/analysis_options.yaml
include: package:lints/recommended.yaml
4 changes: 2 additions & 2 deletions prometheus_client_shelf/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: prometheus_client_shelf
description: Dart implementation of the Prometheus client library providing a shelf integration.
version: 0.5.0
version: 0.5.1
homepage: https://github.com/tentaclelabs/prometheus_client

environment:
Expand All @@ -12,7 +12,7 @@ dependencies:
collection: ^1.15.0

dev_dependencies:
pedantic: ^1.10.0
lints: ^1.0.1
test: ^1.16.0
# Dependency is required for the example
shelf_router: ^1.0.0
Expand Down

0 comments on commit 4780805

Please sign in to comment.