Suppress diagnostics from // HACK comments (#91301)

* Suppress diagnostics from // HACK comments
This commit is contained in:
Danny Tuppeny 2021-10-06 08:10:37 +01:00 committed by GitHub
parent 1d0e55388a
commit 39f5769cd8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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