Skip to content

Commit

Permalink
Don't recommend DecoratedBox
Browse files Browse the repository at this point in the history
Fixes #51
  • Loading branch information
passsy committed Nov 30, 2022
1 parent 6c6afc3 commit 96291af
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/casual.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1064,7 +1064,7 @@ linter:
# https://dart-lang.github.io/linter/lints/use_colored_box.html
# - use_colored_box

# Decorated Box is not a replacement for Container https://github.com/dart-lang/linter/issues/3286
# DecoratedBox is not a replacement for Container https://github.com/dart-lang/linter/issues/3286
#
# Linter v1.15
# https://dart-lang.github.io/linter/lints/use_decorated_box.html
Expand Down
4 changes: 2 additions & 2 deletions lib/strict.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1066,11 +1066,11 @@ linter:
# https://dart-lang.github.io/linter/lints/use_colored_box.html
- use_colored_box

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

# 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.
#
Expand Down

0 comments on commit 96291af

Please sign in to comment.