diff --git a/README.md b/README.md index 7096958..1eec95f 100644 --- a/README.md +++ b/README.md @@ -42,11 +42,11 @@ To use those lints you can add a dependency in your `pubspec.yaml`: # If you also need to import `package:pedantic/pedantic.dart`, it's a # normal dependency. dependencies: - pedantic: '1.1.0' + pedantic: '1.4.0' # Or, if you just want `analysis_options.yaml`, it can be a dev dependency. dev_dependencies: - pedantic: '1.1.0' + pedantic: '1.4.0' ``` and add an include in your `analysis_options.yaml`: @@ -55,6 +55,9 @@ and add an include in your `analysis_options.yaml`: include: package:pedantic/analysis_options.yaml ``` +This example uses a pinned version because every added lint rule could break a +build for projects using it. + ## Unused Lints The following lints have been considered and will _not_ be enforced: