Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Warn if no violations were produced in a disabled region #1102
Maybe SwiftLint should warn if a disable command doesn't actually silence a violation?
Due to SwiftLint's architecture, we already detect these violations, we just filter them out (silence them) if they happen to be in a disabled region before passing it back to the linter.
So it shouldn't be too hard to do this.