From 36c1e516f5eb7a1ca8f6986529a598413a048a14 Mon Sep 17 00:00:00 2001 From: Illia Romanenko Date: Thu, 24 Mar 2022 16:59:41 +0100 Subject: [PATCH] Disable do_not_use_environment. 0.0.11 v. --- CHANGELOG.md | 4 ++++ lib/analysis_options.yaml | 5 ++++- pubspec.yaml | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0999f7a0..83cfb53a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.0.11 + +- Disabe do_not_use_environment as we need to for Flutter for web + ## 0.0.10 - Update `dart_code_metrics` dependency to 4.10.1 diff --git a/lib/analysis_options.yaml b/lib/analysis_options.yaml index 1a5eaecc..553d3723 100644 --- a/lib/analysis_options.yaml +++ b/lib/analysis_options.yaml @@ -131,7 +131,10 @@ linter: - deprecated_consistency # - diagnostic_describe_all_properties - directives_ordering - - do_not_use_environment + # Pretty much agree with Passy & linter package. + # Our use case for Flutter for web where there is no flavors yet. + # So using dart-define is helpful. + #- do_not_use_environment - empty_catches - empty_constructor_bodies - empty_statements diff --git a/pubspec.yaml b/pubspec.yaml index 4d282d1a..0c417e84 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.0.10 +version: 0.0.11 homepage: https://github.com/solid-software/solid_lints/ environment: