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
As it's in the name of AnyLint, it should be able to lint anything. This can also be understood in a way that AnyLint can start and orchestrate any kind of linter. This will only work though if those other linters output can be understood by AnyLint and they can somehow communicate / interpret each others results.
Suggested Solution
Add a standardized JSON-based violation & statistics output format which other tools outputs can be easily converted to. Then add native support for some common linters like SwiftLint, SwiftFormat and ktlint to make AnyLint summarize their results and fail at the specified levels.
Example Usage
A user might want to setup some custom lint rules via AnyLint and additionally specify that SwiftLint should be run. This could be done via a command line script that is specified in AnyLint and somehow another command that is provided by AnyLint which can convert the output to the AnyLint standardized format and therefore the summary and failing status of anylint would also include the results of SwiftLint.
The text was updated successfully, but these errors were encountered:
Problem Statement
As it's in the name of AnyLint, it should be able to lint anything. This can also be understood in a way that AnyLint can start and orchestrate any kind of linter. This will only work though if those other linters output can be understood by AnyLint and they can somehow communicate / interpret each others results.
Suggested Solution
Add a standardized JSON-based violation & statistics output format which other tools outputs can be easily converted to. Then add native support for some common linters like SwiftLint, SwiftFormat and ktlint to make AnyLint summarize their results and fail at the specified levels.
Example Usage
A user might want to setup some custom lint rules via AnyLint and additionally specify that SwiftLint should be run. This could be done via a command line script that is specified in AnyLint and somehow another command that is provided by AnyLint which can convert the output to the AnyLint standardized format and therefore the summary and failing status of
anylint
would also include the results of SwiftLint.The text was updated successfully, but these errors were encountered: