Skip to content

Commit

Permalink
add instruction to call pub get (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
pq authored May 12, 2021
1 parent fdb05a3 commit f1b85c1
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,10 @@ For new apps created with `dart create`, the lints are enabled by default.

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

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

```yaml
dev_dependencies:
lints: ^1.0.0
```terminal
dart pub add --dev lints
```

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

0 comments on commit f1b85c1

Please sign in to comment.