Skip to content

Commit 49687fd

Browse files
committed
Disable two lint rules which are being removed.
Each of these are going to be removed soon. * avoid_null_checks_in_equality_operators * unsafe_html Work towards https://github.com/dart-lang/linter/issues/5063 and https://github.com/dart-lang/linter/issues/5001
1 parent b7aa339 commit 49687fd

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

analysis_options.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ linter:
5656
avoid_init_to_null: true
5757
avoid_js_rounded_ints: true
5858
avoid_multiple_declarations_per_line: true
59-
avoid_null_checks_in_equality_operators: true
6059
avoid_positional_boolean_parameters: true
6160
avoid_print: true
6261
avoid_private_typedef_functions: true
@@ -220,7 +219,6 @@ linter:
220219
unnecessary_to_list_in_spreads: true
221220
unreachable_from_main: true
222221
unrelated_type_equality_checks: true
223-
unsafe_html: true
224222
use_build_context_synchronously: true
225223
use_colored_box: true
226224
use_decorated_box: true

example/analysis_options.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ linter:
5656
avoid_init_to_null: true
5757
avoid_js_rounded_ints: true
5858
avoid_multiple_declarations_per_line: true
59-
avoid_null_checks_in_equality_operators: true
6059
avoid_positional_boolean_parameters: true
6160
avoid_print: true
6261
avoid_private_typedef_functions: true
@@ -220,7 +219,6 @@ linter:
220219
unnecessary_to_list_in_spreads: true
221220
unreachable_from_main: true
222221
unrelated_type_equality_checks: true
223-
unsafe_html: true
224222
use_build_context_synchronously: true
225223
use_colored_box: true
226224
use_decorated_box: true

0 commit comments

Comments
 (0)