Skip to content
This repository has been archived by the owner on Nov 5, 2022. It is now read-only.

Commit

Permalink
Merge pull request #37 from dart-lang/readme-fix
Browse files Browse the repository at this point in the history
Update README to reference the 1.9 version as latest
  • Loading branch information
davidmorgan authored Dec 9, 2019
2 parents c0789ba + 87967bf commit 2574dd1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Here is how static analysis is used internally at Google:
## Enabled Lints

The currently enabled lints can be found in
[analysis_options.1.8.0.yaml](https://github.com/dart-lang/pedantic/blob/master/lib/analysis_options.1.8.0.yaml).
[analysis_options.1.9.0.yaml](https://github.com/dart-lang/pedantic/blob/master/lib/analysis_options.1.9.0.yaml).

## Using the Lints

Expand All @@ -49,11 +49,11 @@ To use the lints add a dependency in your `pubspec.yaml`:
```yaml
# If you use `package:pedantic/pedantic.dart`, add a normal dependency.
dependencies:
pedantic: ^1.8.0
pedantic: ^1.9.0

# Or, if you just want `analysis_options.yaml`, it can be a dev dependency.
dev_dependencies:
pedantic: ^1.8.0
pedantic: ^1.9.0
```
then, add an include in your `analysis_options.yaml`. If you want to always
Expand All @@ -70,7 +70,7 @@ fail whenever a new version of `package:pedantic` is released. To avoid this,
specify a specific version of `analysis_options.yaml` instead:

```yaml
include: package:pedantic/analysis_options.1.8.0.yaml
include: package:pedantic/analysis_options.1.9.0.yaml
```

## Unused Lints
Expand Down

0 comments on commit 2574dd1

Please sign in to comment.