Commit Graph

10 Commits

Author SHA1 Message Date
Danny Mösch 9e5a526483 Enable unneeded_throws_rethrows rule (#6335) 2025-11-03 20:24:57 +01:00
Danny Mösch e42ee1090a Pass only Swift files in Xcode target to linter (#5890) 2024-12-07 16:32:49 +00:00
Danila Shikulin 75c13228f0 Support linting only provided file paths with command plugins (#5879)
This enables anyone to run SwiftLint on file paths provided via arguments without
installing it via Mint or Homebrew. This can be useful for custom Git hooks that run
only for modified files.
2024-12-07 14:50:28 +00:00
Danny Mösch 9d9156fcc6 Add Xcode command plugin (#5867) 2024-11-26 19:58:30 +01:00
Danny Mösch c784adcb03 Pass only remaining arguments to swiftlint command (#5865)
Missing part of 7904d9a.
2024-11-19 22:58:57 +01:00
Danny Mösch 3344fc6d31 Add cache path and directories only when commands accept them (#5851) 2024-11-10 14:32:16 +00:00
Danny Mösch 8241909add Run command plugin in whole package if no targets defined (#5789) 2024-09-11 21:16:39 +00:00
Enric Enrich 27cab449ac Use Diagnostics.error when command failed (#5782) 2024-09-07 12:49:42 +00:00
Danny Mösch 7904d9a438 Support --target paths being passed to command plugin (#5696) 2024-07-24 22:57:24 +02:00
Garric G. Nahapetian e4e3545b71 Introduce SwiftLintCommandPlugin (#5497) 2024-03-19 22:07:22 +01:00