Skip to content

Commit

Permalink
Disable do_not_use_environment. 0.0.11 v.
Browse files Browse the repository at this point in the history
  • Loading branch information
Illia Romanenko committed Mar 24, 2022
1 parent fee103e commit 36c1e51
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
5 changes: 4 additions & 1 deletion lib/analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 36c1e51

Please sign in to comment.