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

add instruction to call pub get #21

Merged
merged 3 commits into from
May 12, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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