Skip to content

Commit baf0da6

Browse files
authored
docs: update README to use v3.1.0 (#57)
1 parent 3f0eb08 commit baf0da6

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

README.md

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,11 @@ This package provides lint rules for Dart and Flutter which are used at [Very Go
1818

1919
## Usage
2020

21-
To use the lints, add a dependency in your `pubspec.yaml`:
21+
To use the lints, add as a dev dependency in your `pubspec.yaml`:
2222

2323
```yaml
24-
# If you use `package:very_good_analysis/very_good_analysis.dart`, add a normal dependency.
25-
dependencies:
26-
very_good_analysis: ^3.0.2
27-
28-
# Or, if you just want `analysis_options.yaml`, it can be a dev dependency.
2924
dev_dependencies:
30-
very_good_analysis: ^3.0.2
25+
very_good_analysis: ^3.1.0
3126
```
3227
3328
Then, add an include in `analysis_options.yaml`:
@@ -39,7 +34,7 @@ include: package:very_good_analysis/analysis_options.yaml
3934
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:
4035

4136
```yaml
42-
include: package:very_good_analysis/analysis_options.3.0.1.yaml
37+
include: package:very_good_analysis/analysis_options.3.1.0.yaml
4338
```
4439

4540
## Suppressing Lints

0 commit comments

Comments
 (0)