Skip to content

Commit 1d31156

Browse files
authored
add instruction to call pub get (dart-archive/lints#21)
1 parent fa62baa commit 1d31156

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

pkgs/lints/README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,10 @@ For new apps created with `dart create`, the lints are enabled by default.
3939

4040
For existing apps or packages, take these steps to enable these lints:
4141

42-
1. Add a *dev* dependency on this package to your `pubspec.yaml` file:
42+
1. In a terminal, located at the root of your package, run this command:
4343

44-
```yaml
45-
dev_dependencies:
46-
lints: ^1.0.0
44+
```terminal
45+
dart pub add --dev lints
4746
```
4847

4948
2. Create a new `analysis_options.yaml` file, next to the pubspec, that includes

0 commit comments

Comments
 (0)