Suppress diagnostics from // HACK comments (#91301)
* Suppress diagnostics from // HACK comments
This commit is contained in:
@@ -27,8 +27,9 @@ analyzer:
|
||||
missing_required_param: warning
|
||||
# treat missing returns as a warning (not a hint)
|
||||
missing_return: warning
|
||||
# allow having TODOs in the code
|
||||
# allow having TODO/HACK comments in the code
|
||||
todo: ignore
|
||||
hack: ignore
|
||||
# allow self-reference to deprecated members (we do this because otherwise we have
|
||||
# to annotate every member in every test, assert, etc, when we deprecate something)
|
||||
deprecated_member_use_from_same_package: ignore
|
||||
|
||||
Reference in New Issue
Block a user