Skip to content

Commit 36c1e51

Browse files
author
Illia Romanenko
committed
Disable do_not_use_environment. 0.0.11 v.
1 parent fee103e commit 36c1e51

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.0.11
2+
3+
- Disabe do_not_use_environment as we need to for Flutter for web
4+
15
## 0.0.10
26

37
- Update `dart_code_metrics` dependency to 4.10.1

lib/analysis_options.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,10 @@ linter:
131131
- deprecated_consistency
132132
# - diagnostic_describe_all_properties
133133
- directives_ordering
134-
- do_not_use_environment
134+
# Pretty much agree with Passy & linter package.
135+
# Our use case for Flutter for web where there is no flavors yet.
136+
# So using dart-define is helpful.
137+
#- do_not_use_environment
135138
- empty_catches
136139
- empty_constructor_bodies
137140
- empty_statements

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: solid_lints
22
description:
33
Lints for Dart and Flutter based on software industry standards and best
44
practices.
5-
version: 0.0.10
5+
version: 0.0.11
66
homepage: https://github.com/solid-software/solid_lints/
77

88
environment:

0 commit comments

Comments
 (0)