Skip to content

Commit

Permalink
add a section on upgrading to the latest lint set to the readme (dart…
Browse files Browse the repository at this point in the history
  • Loading branch information
devoncarew authored Nov 14, 2023
1 parent 68d0df8 commit 3727b78
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkgs/lints/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 pkgs/lints/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 3727b78

Please sign in to comment.