File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -42,11 +42,11 @@ To use those lints you can add a dependency in your `pubspec.yaml`:
4242# If you also need to import `package:pedantic/pedantic.dart`, it's a
4343# normal dependency.
4444dependencies :
45- pedantic : ' 1.1 .0'
45+ pedantic : ' 1.4 .0'
4646
4747# Or, if you just want `analysis_options.yaml`, it can be a dev dependency.
4848dev_dependencies :
49- pedantic : ' 1.1 .0'
49+ pedantic : ' 1.4 .0'
5050` ` `
5151
5252and add an include in your ` analysis_options.yaml`:
@@ -55,6 +55,9 @@ and add an include in your `analysis_options.yaml`:
5555include: package:pedantic/analysis_options.yaml
5656` ` `
5757
58+ This example uses a pinned version because every added lint rule could break a
59+ build for projects using it.
60+
5861# # Unused Lints
5962
6063The following lints have been considered and will _not_ be enforced :
You can’t perform that action at this time.
0 commit comments