Skip to content

Commit 3727b78

Browse files
authored
add a section on upgrading to the latest lint set to the readme (dart-archive/lints#171)
1 parent 68d0df8 commit 3727b78

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

pkgs/lints/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

pkgs/lints/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)