Skip to content
This repository was archived by the owner on Jan 7, 2025. It is now read-only.

Commit f1b85c1

Browse files
authored
add instruction to call pub get (#21)
1 parent fdb05a3 commit f1b85c1

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

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)