Commit Graph
9 Commits
Author SHA1 Message Date
Martin Redington 96db41c379 Add an experimental baseline feature (#5475) 2024-05-01 16:55:33 +02:00
JP SimardandDanny Mösch 406d4d270b Require Swift 5.9 (#5235)
Co-authored-by: Danny Mösch <danny.moesch@icloud.com>
2023-09-25 18:54:02 -04:00
JP Simard 165172e0fa Introduce a "rule registry" concept
This will allow for registering rules that aren't compiled as part of
SwiftLintFramework.

Specifically this will allow us to split the built-in and extra rules
into separate modules, leading to faster incremental compilation when
working on rules since the rest of the framework won't need to be
rebuilt on every compilation.
2023-04-25 12:28:50 -04:00
Martin Redington 7dad240ea7 Add a reporters subcommand (#4836) 2023-03-31 08:09:01 +02:00
JP Simard a97718f4c6 Replace incrementer dispatch queue with an actor (#4073)
To support this, we first must use an async entrypoint to the CLI, which
we do by changing the lint and analyze commands to conform to
`AsyncParsableCommand`.

The in order to map over the closures with suspension points, we pull in
CollectionConcurrencyKit as a new dependency.

This change does not touch SwiftLintFramework, only the CLI target.
2022-08-09 13:06:08 +00:00
JP Simard ec8ba17388 Use @main attribute (#4072)
This will allow us to have an async entrypoint and use structured
concurrency features in the future.
2022-08-09 03:48:12 +00:00
JP Simard 24735ef4d3 Add support for building with Bazel (#4038) 2022-07-26 07:09:02 -04:00
JP Simard 6bad2eccdf Remove unused imports 2020-12-14 15:53:49 -05:00
JP Simard fa55508668 Migrate from Commandant to swift-argument-parser 2020-12-14 15:51:04 -05:00