Skip to content
This repository was archived by the owner on Jul 16, 2023. It is now read-only.

Commit 2fe0033

Browse files
committed
chore: disable cast_nullable_to_non_nullable rule
1 parent 431e47f commit 2fe0033

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

analysis_options.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ linter:
7272
- camel_case_types
7373
- cancel_subscriptions
7474
- cascade_invocations
75-
- cast_nullable_to_non_nullable
75+
# - cast_nullable_to_non_nullable
7676
- close_sinks
7777
- comment_references
7878
- constant_identifier_names

test/analyzers/lint_analyzer/rules/rules_list/avoid_returning_widgets/avoid_returning_widgets_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ void main() {
9595
'@swidget\n'
9696
'Widget _getStatelessFunctionalWidget() => Container();',
9797
'@hwidget\n'
98-
'Widget _getHookFunctionalWidget() => Container();'
98+
'Widget _getHookFunctionalWidget() => Container();',
9999
],
100100
messages: [
101101
'Avoid returning widgets from a function.',

0 commit comments

Comments
 (0)