File tree 1 file changed +5
-2
lines changed 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`:
42
42
# If you also need to import `package:pedantic/pedantic.dart`, it's a
43
43
# normal dependency.
44
44
dependencies :
45
- pedantic : ' 1.1 .0'
45
+ pedantic : ' 1.4 .0'
46
46
47
47
# Or, if you just want `analysis_options.yaml`, it can be a dev dependency.
48
48
dev_dependencies :
49
- pedantic : ' 1.1 .0'
49
+ pedantic : ' 1.4 .0'
50
50
` ` `
51
51
52
52
and add an include in your ` analysis_options.yaml`:
@@ -55,6 +55,9 @@ and add an include in your `analysis_options.yaml`:
55
55
include: package:pedantic/analysis_options.yaml
56
56
` ` `
57
57
58
+ This example uses a pinned version because every added lint rule could break a
59
+ build for projects using it.
60
+
58
61
# # Unused Lints
59
62
60
63
The following lints have been considered and will _not_ be enforced :
You can’t perform that action at this time.
0 commit comments