Skip to content

Commit

Permalink
docs: update README
Browse files Browse the repository at this point in the history
  • Loading branch information
felangel committed May 12, 2022
1 parent f74777e commit 083ec6e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ To use the lints, add a dependency in your `pubspec.yaml`:
```yaml
# If you use `package:very_good_analysis/very_good_analysis.dart`, add a normal dependency.
dependencies:
very_good_analysis: ^2.4.0
very_good_analysis: ^3.0.0

# Or, if you just want `analysis_options.yaml`, it can be a dev dependency.
dev_dependencies:
very_good_analysis: ^2.4.0
very_good_analysis: ^3.0.0
```

Then, add an include in `analysis_options.yaml`:
Expand All @@ -39,7 +39,7 @@ include: package:very_good_analysis/analysis_options.yaml
This will ensure you always use the latest version of the lints. If you wish to restrict the lint version, specify a version of `analysis_options.yaml` instead:

```yaml
include: package:very_good_analysis/analysis_options.2.4.0.yaml
include: package:very_good_analysis/analysis_options.3.0.0.yaml
```

## Suppressing Lints
Expand Down

0 comments on commit 083ec6e

Please sign in to comment.