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

Commit

Permalink
add a section on upgrading to the latest lint set to the readme (#171)
Browse files Browse the repository at this point in the history
  • Loading branch information
devoncarew authored Nov 14, 2023
1 parent f58fd77 commit 3810f8b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
- `core`:
- added `no_wildcard_variable_uses`
- Updated the SDK lower-bound to 3.1.
- Add a section on upgrading to the latest lint set to the readme.

## 3.0.0

Expand Down
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,14 @@ For existing apps or packages, you can enable these lints via:
include: package:lints/core.yaml
```
## Upgrading to the latest lints
To upgrade to the latest version of the lint set, run:
```
dart pub add dev:lints
```
## Customizing the predefined lint sets
For details on customizing static analysis above and beyond the predefined
Expand Down

0 comments on commit 3810f8b

Please sign in to comment.