Commit Graph
6 Commits
Author SHA1 Message Date
Martin RedingtonandGitHub f72f195ece Fix error reporting (#6061) 2025-05-21 11:34:46 +01:00
Keith BauerandGitHub 4eb19bef17 Parallelize file grouping (#5983) 2025-02-01 07:10:44 -05:00
Keith BauerandGitHub 010028acfa Parallelize SwiftLintFile construction for a modest speedup (#5967) 2025-01-29 16:33:32 +01:00
Danny MöschandGitHub fcdc98a52d Revert "Improve performance of excluded files filter" (#5962)
This reverts commit 152355e36f from #5157.

# Conflicts:
#	tools/oss-check
2025-01-15 19:15:44 +01:00
Danny MöschandGitHub 152355e36f Improve performance of excluded files filter (#5157)
The current algorithm is like "collect all included files and subtract all excluded files".
Collecting all included and all excluded files relies on the file system. This can become slow
when the patterns used to exclude files resolve to a large number of files.

The new approach only collects all lintable files and checks them against the exclude patterns.
This can be done by in-memory string-regex-match and does therefore not require file system accesses.
2024-12-25 17:33:33 -05:00
Danny Mösch a6c4fd98bc Move files from SwiftLintCore to SwiftLintFramework
Ideally, SwiftLintCore would some day only contain components
that are needed to define rules. Consequently, it would be the
only bundle required to import for (external) rule development.
2024-12-23 12:51:43 +01:00