Closed noahsark769 closed 4 years ago
Currently it's possible to pecker:ignore classes/structs/enums, but not extensions. For example:
pecker:ignore
class IgnoreInExtensionExample { } // pecker:ignore extension IgnoreInExtensionExample { func unused() { } }
In this example, unused() is still reported as unused, even though the intention was to ignore it. This feature is nice to have because we have a bunch of extensions for base XCTestCase classes.
unused()
ah, sorry, this is what pecker:ignore all is for. Closing this.
pecker:ignore all
Currently it's possible to
pecker:ignore
classes/structs/enums, but not extensions. For example:In this example,
unused()
is still reported as unused, even though the intention was to ignore it. This feature is nice to have because we have a bunch of extensions for base XCTestCase classes.