From f2db11a562765d47f5a3a69451b757ffe33ccf87 Mon Sep 17 00:00:00 2001 From: Hugo van der Merwe Date: Thu, 29 Nov 2018 19:52:48 +0100 Subject: [PATCH 1/2] Bump version number in README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 709695838e14a..c80c215d4294e 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`: From a0cf50f5fe42ce1cb3193acca4ac6f30de5aa9ab Mon Sep 17 00:00:00 2001 From: Hugo van der Merwe Date: Thu, 29 Nov 2018 20:09:10 +0100 Subject: [PATCH 2/2] Add a note explaining the version pinning. --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index c80c215d4294e..1eec95f5df75e 100644 --- a/README.md +++ b/README.md @@ -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: