Danny Mösch
17d5feee43
Base violation marker positions on bytes to avoid range conversions ( #6588 )
2026-04-10 00:06:26 +02:00
Eduard Miniakhmetov
c40896d3ad
Add new invisible_characters rule ( #6424 )
...
Co-authored-by: Miniakhmetov Eduard <eminiakhmetov@sportmasterlab.net >
2026-04-07 14:06:59 +02:00
Danny Mösch
32c33c2588
Re-enable redundant_self rule ( #6368 )
2025-12-07 08:11:08 -05:00
Saleem Abdulrasool
562ec8f369
Correct incorrect handling of file paths ( #6355 )
...
`URL.path` is not a usable rendering of the path. `URL.path` represents
the URI path. If the path is meant to be consumable as a file path, the
file system representation (aka FSR) must be retrieved.
This improves the file path handling and makes additional tests now
pass.
Co-authored-by: Danny Mösch <danny.moesch@icloud.com >
2025-12-01 22:02:12 +01:00
Danny Mösch
2e87be0398
Infer name of parent rule in configurations ( #6363 )
2025-12-01 14:15:00 -05:00
Saleem Abdulrasool
e526fdef94
Repair GenerationTests on Windows ( #6354 )
2025-11-28 09:04:17 +01:00
Danny Mösch
9e5a526483
Enable unneeded_throws_rethrows rule ( #6335 )
2025-11-03 20:24:57 +01:00
Danny Mösch
67e98911fc
Get rid of @testable import
2025-10-18 00:19:05 +02:00
Danny Mösch
4065fc8437
Enable upcoming feature MemberImportVisibility ( #6286 )
2025-10-08 08:12:05 +02: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
Danny Mösch
66f244beaa
Use failure handler in macro tests
2025-10-03 22:41:38 +02:00
Danny Mösch
58be16cd0e
Use task-local parser diagnostic toggle ( #6273 )
2025-10-03 22:34:32 +02:00
Danny Mösch
6c28c79acd
Add test sources to release archive ( #6236 )
...
Leftover from 819fbaf786 .
2025-09-05 21:45:15 +02:00
Danny Mösch
93df948139
Export BUILD files to access them in the release step
2025-09-05 18:39:24 +02:00
Danny Mösch
54646f4424
Expose only TestHelpers and ExtraRulesTests as part of Bazel releases ( #6235 )
2025-09-05 17:30:12 +02:00
Danny Mösch
087278c052
Introduce new CoreTests module ( #6233 )
...
It's supposed to test code from SwiftLintCore.
2025-09-04 20:56:51 +02:00
Danny Mösch
c1ffdfe891
Enable prefer_condition_list rule ( #6163 )
2025-07-12 09:41:00 -04:00
Danny Mösch
599e51a5a2
Format code ( #6151 )
2025-07-02 17:50:53 -04:00
JP Simard
5a2cf4b1fe
Remove dead code ( #6125 )
...
In particular lots of stuff that used to be needed with SourceKit that
we no longer need to keep around.
Identified using Periphery: https://github.com/peripheryapp/periphery
2025-06-21 15:19:37 -04:00
Danny Mösch
47335d7f95
Remove tracking of correction positions ( #5950 )
...
Report number of corrections per file instead.
2025-04-05 06:04:37 -04:00
Danny Mösch
a4893f60b2
Verify that severity can be configured per rule ( #5985 )
2025-01-31 20:01:51 +01:00
Danny Mösch
15b285527a
Separate built-in rule tests from framework tests ( #5924 )
...
* Short names for test modules
* Lint plugins and `Package.swift` in integration tests
* Simplify and merge file groups in Bazel
* Move common functions to `TestHelpers`
2024-12-30 12:26:46 +01:00