Skip to content

Commit 6849e6d

Browse files
authored
Merge pull request #170 from Workiva/loosen_warnings_during_dart_213
Loosen warnings during the Dart 2.13 transition
2 parents 33b7cf8 + b2bc24d commit 6849e6d

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

lib/v1.yaml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,10 @@ analyzer:
8181
duplicate_shown_name: warning
8282
unused_catch_clause: warning
8383
unused_catch_stack: warning
84-
unused_element: warning
85-
unused_field: warning
86-
unused_import: warning
84+
# Disabled during the Dart 2.13 transition
85+
# unused_element: warning
86+
# unused_field: warning
87+
# unused_import: warning
8788
unused_local_variable: warning
8889
unused_shown_name: warning
8990

@@ -130,7 +131,8 @@ analyzer:
130131
unnecessary_null_aware_assignments: warning
131132
unnecessary_null_in_if_null_operators: warning
132133
unnecessary_statements: warning
133-
unsafe_html: warning
134+
# Disabled during the Dart 2.13 transition
135+
# unsafe_html: warning
134136
unrelated_type_equality_checks: warning
135137
valid_regexps: warning
136138
void_checks: warning
@@ -183,7 +185,8 @@ linter:
183185
- unnecessary_null_aware_assignments
184186
- unnecessary_null_in_if_null_operators
185187
- unnecessary_statements
186-
- unsafe_html
188+
# Disabled during the Dart 2.13 transition
189+
# - unsafe_html
187190
- unrelated_type_equality_checks
188191
- valid_regexps
189192
- void_checks

0 commit comments

Comments
 (0)