You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
❤ yes please! I recently did this (manually) and was able to remove a bunch of unnecessary disable flags. (The project had been refactored and Linting had been disabled for a while so things became out of date.)
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.
The text was updated successfully, but these errors were encountered: