Allow clippy::disallowed_names since it can be used for debugging
https://rust-lang.github.io/rust-clippy/master/index.html#/disallowed_names The current list is extremely short ("foo", "baz", "quux"), and thus this really just prevents people from temporarily using `foo` to debug code. In the spirit of improving productivity and reducing frustration, it's easier to just allow this. Bug: N/A Test: TH Change-Id: I50b65486ed2b58bfd2cf699ee3b43b936d25f2cb
This commit is contained in:
@@ -53,6 +53,8 @@ var (
|
||||
// It should be assumed that any warning lint will be promoted to a
|
||||
// deny.
|
||||
defaultClippyLints = []string{
|
||||
// Let people hack in peace. ;)
|
||||
"-A clippy::disallowed_names",
|
||||
"-A clippy::type-complexity",
|
||||
"-A clippy::unnecessary_fallible_conversions",
|
||||
"-A clippy::unnecessary-wraps",
|
||||
|
Reference in New Issue
Block a user