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

Commit 3810f8b

Browse files
authored
add a section on upgrading to the latest lint set to the readme (#171)
1 parent f58fd77 commit 3810f8b

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
- `core`:
44
- added `no_wildcard_variable_uses`
55
- Updated the SDK lower-bound to 3.1.
6+
- Add a section on upgrading to the latest lint set to the readme.
67

78
## 3.0.0
89

README.md

+8
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,14 @@ For existing apps or packages, you can enable these lints via:
7171
include: package:lints/core.yaml
7272
```
7373
74+
## Upgrading to the latest lints
75+
76+
To upgrade to the latest version of the lint set, run:
77+
78+
```
79+
dart pub add dev:lints
80+
```
81+
7482
## Customizing the predefined lint sets
7583
7684
For details on customizing static analysis above and beyond the predefined

0 commit comments

Comments
 (0)