Macro exclusion for line_length missing #5648
Labels
bug
Unexpected and reproducible misbehavior.
sourcekit-issue
Issues that are caused by a misbehavior in SourceKit and need to be fixed upstream.
New Issue Checklist
Describe the bug
I have a specific setting in my
.swiftlint.yml
to exclude function declarationsHowever, this ignores the macro definitions
Complete output when running SwiftLint, including the stack trace and command used
Gives me
Environment
swiftlint version
to be sure)?0.55.1
Homebrew
If so, paste their relative paths and respective contents.
No
xcodebuild -version
)?Xcode 15.4
echo "[string here]" | swiftlint lint --no-cache --use-stdin --enable-all-rules
to quickly test if your example is really demonstrating the issue. If your example is more
complex, you can use
swiftlint lint --path [file here] --no-cache --enable-all-rules
.Create a macro using Xcode and run the linter to recreate the issue
The text was updated successfully, but these errors were encountered: