From 858b255a9ebcacf31c21c2fb9325329e668ae56f Mon Sep 17 00:00:00 2001 From: Illia Romanenko <442086+illia-romanenko@users.noreply.github.com> Date: Fri, 16 Feb 2024 20:10:30 -0500 Subject: [PATCH 1/4] Update README.md - point to the new documentation site --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 70cbd096..edafa3ee 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Flutter/Dart lints configuration based on software engineering industry standard # Documentation For more detailed information and guidelines on using Solid Lints, please refer to the documentation: -* https://solid-software.github.io/solid_lints/docs/intro +* https://lints.solid.software # Usage From 4c8ad1fd0d48c29f2fb8dec0a0f6307bd2e3baff Mon Sep 17 00:00:00 2001 From: Yurii Prykhodko <144313329+yurii-prykhodko-solid@users.noreply.github.com> Date: Tue, 20 Feb 2024 16:37:29 +0200 Subject: [PATCH 2/4] Add `dart run custom_lint` cmd to README (#129) --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index edafa3ee..02d62c85 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,7 @@ Then you can see suggestions in your IDE or you can run checks manually: ```bash dart analyze; +dart run custom_lint; ``` # Badge From a19d80a0e173fb9322e5f7bb8da3724cc011d07c Mon Sep 17 00:00:00 2001 From: Yurii Prykhodko <144313329+yurii-prykhodko-solid@users.noreply.github.com> Date: Wed, 21 Feb 2024 11:43:03 +0200 Subject: [PATCH 3/4] Remove deprecated linter rules (#132) --- lib/analysis_options.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/analysis_options.yaml b/lib/analysis_options.yaml index f2765bb3..8d5db973 100644 --- a/lib/analysis_options.yaml +++ b/lib/analysis_options.yaml @@ -95,7 +95,6 @@ linter: rules: - always_declare_return_types - always_put_required_named_parameters_first - - always_require_non_null_named_parameters - always_use_package_imports - annotate_overrides - avoid_bool_literals_in_conditional_expressions @@ -121,7 +120,6 @@ linter: - avoid_relative_lib_imports - avoid_renaming_method_parameters - avoid_return_types_on_setters - - avoid_returning_null_for_future - avoid_returning_null_for_void - avoid_setters_without_getters - avoid_shadowing_type_parameters From 54d3a543e34b743ee37282406d76d0d17d9cd3e7 Mon Sep 17 00:00:00 2001 From: Yurii Prykhodko <144313329+yurii-prykhodko-solid@users.noreply.github.com> Date: Wed, 21 Feb 2024 16:13:36 +0200 Subject: [PATCH 4/4] Bump version to 0.1.4, upd changelog (#133) * Update pubspec.yaml version to 0.1.4 * Update CHANGELOG.md --- CHANGELOG.md | 6 ++++++ pubspec.yaml | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1fd1b898..42143aa9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## 0.1.4 + +- Removed deprecated lints: + - `always_require_non_null_named_parameters` + - `avoid_returning_null_for_future` + ## 0.1.3 - Bumped custom_lint package to 0.6.0 version diff --git a/pubspec.yaml b/pubspec.yaml index c758780a..f70238d2 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -2,7 +2,7 @@ name: solid_lints description: Lints for Dart and Flutter based on software industry standards and best practices. -version: 0.1.3 +version: 0.1.4 homepage: https://github.com/solid-software/solid_lints/ documentation: https://solid-software.github.io/solid_lints/docs/intro topics: [lints, linter, lint, analysis, analyzer]