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
A Linter should be able to create a sub-Linter when we enter a region of code that has comment modifiers applied to it (e.g. // swift-lint:enable-rule).
Suggested implementation hints: Linter takes a File as an initializer, we can create a File with a contents String. If a Linter does a pass over that string to find each sub-region it can map those sub-regions into a [Linter] and then flatMap styleViolations over the resultant [Linter].
The text was updated successfully, but these errors were encountered:
A Linter should be able to create a sub-Linter when we enter a region of code that has comment modifiers applied to it (e.g. // swift-lint:enable-rule).
Suggested implementation hints: Linter takes a File as an initializer, we can create a File with a contents String. If a Linter does a pass over that string to find each sub-region it can map those sub-regions into a [Linter] and then flatMap styleViolations over the resultant [Linter].
The text was updated successfully, but these errors were encountered: