Danny Mösch
e8095c748a
One working directory per test
2026-06-06 11:07:04 +02:00
Danny Mösch
ac2eda6732
Adopt Swift Testing
...
# Conflicts:
# Tests/BuiltInRulesTests/FileHeaderRuleTests.swift
# Tests/BuiltInRulesTests/FileNameNoSpaceRuleTests.swift
# Tests/BuiltInRulesTests/IndentationWidthRuleTests.swift
# Tests/CoreTests/RegexConfigurationTests.swift
# Tests/CoreTests/SwiftLintFileTests.swift
# Tests/FileSystemAccessTests/BaselineTests.swift
# Tests/FileSystemAccessTests/ConfigurationTests+Mock.swift
# Tests/FileSystemAccessTests/ConfigurationTests.swift
# Tests/FileSystemAccessTests/GlobTests.swift
# Tests/FileSystemAccessTests/MultipleConfigurationsTests.swift
# Tests/FileSystemAccessTests/ReporterTests.swift
# Tests/FileSystemAccessTests/SourceKitCrashTests.swift
# Tests/FrameworkTests/CustomRulesTests.swift
# Tests/FrameworkTests/LinterCacheTests.swift
# Tests/FrameworkTests/RuleConfigurationTests.swift
# Tests/FrameworkTests/SwiftVersionTests.swift
# Tests/GeneratedTests/GeneratedTests_02.swift
# Tests/GeneratedTests/GeneratedTests_03.swift
# Tests/GeneratedTests/GeneratedTests_04.swift
# Tests/GeneratedTests/GeneratedTests_05.swift
# Tests/GeneratedTests/GeneratedTests_06.swift
# Tests/GeneratedTests/GeneratedTests_07.swift
# Tests/GeneratedTests/GeneratedTests_08.swift
# Tests/GeneratedTests/GeneratedTests_09.swift
# Tests/GeneratedTests/GeneratedTests_10.swift
# Tests/IntegrationTests/ConfigPathResolutionTests.swift
# Tests/IntegrationTests/IntegrationTests.swift
# Tests/TestHelpers/TestHelpers.swift
2026-06-06 11:07:04 +02:00
792032480e
Support SwiftLint on Windows ( #6636 )
...
Co-authored-by: Saleem Abdulrasool <compnerd@compnerd.org >
Co-authored-by: Roman Lavrov <roman.lavrov@thebrowser.company >
2026-05-27 22:02:06 +02:00
Danny Mösch
2e78f40e54
Use directory enumerator to collect and exclude files at the same time ( #6366 )
2025-12-17 19:47:21 +01:00
Danny Mösch
ac701c088c
Improve performance of excluded files filter ( #6342 )
...
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.
The new implementation also no longer traverses directories that already match an exclude pattern.
(cherry picked from commit 152355e36f )
2025-12-07 15:58:23 +01:00
Copilot and SimplyDanny
038135e14d
Enable prefer_key_path rule ( #6331 )
...
Co-authored-by: SimplyDanny <16365760+SimplyDanny@users.noreply.github.com >
2025-10-31 16:58:41 +00:00
Danny Mösch
ad793d1c5b
Add new test module for tests requiring file system access ( #6276 )
...
These tests can especially not run in parallel.
2025-10-03 23:05:15 +02:00