Skip to content

Commit 96291af

Browse files
committed
Don't recommend DecoratedBox
Fixes #51
1 parent 6c6afc3 commit 96291af

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/casual.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1064,7 +1064,7 @@ linter:
10641064
# https://dart-lang.github.io/linter/lints/use_colored_box.html
10651065
# - use_colored_box
10661066

1067-
# Decorated Box is not a replacement for Container https://github.com/dart-lang/linter/issues/3286
1067+
# DecoratedBox is not a replacement for Container https://github.com/dart-lang/linter/issues/3286
10681068
#
10691069
# Linter v1.15
10701070
# https://dart-lang.github.io/linter/lints/use_decorated_box.html

lib/strict.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1066,11 +1066,11 @@ linter:
10661066
# https://dart-lang.github.io/linter/lints/use_colored_box.html
10671067
- use_colored_box
10681068

1069-
# Yet another "Container might be overkill" lint
1069+
# DecoratedBox is not a replacement for Container https://github.com/dart-lang/linter/issues/3286
10701070
#
10711071
# Linter v1.15
10721072
# https://dart-lang.github.io/linter/lints/use_decorated_box.html
1073-
- use_decorated_box
1073+
# - use_decorated_box
10741074

10751075
# Use the [Enhanced Enum Classes](https://github.com/dart-lang/language/blob/master/accepted/future-releases/enhanced-enums/feature-specification.md) feature instead of classes with static members.
10761076
#

0 commit comments

Comments
 (0)