JP Simard

Results 706 comments of JP Simard

> Let me know whether to squash & rebase. Yes, please rebase.

It doesn’t seem like the first version of SwiftPM build tools will support linters or formatters: https://twitter.com/tonyarnold/status/1498508218934644737

> I noticed that SPM sometimes had issues pulling the binary. Have you filed a bug? I'm happy to make sure Apple folks working on SwiftPM take a look. >...

Done in 3fd1573c572f5d960d8e8b3bc46bc229c969ddcb

For what it's worth, I think the current behavior of the rule is my personal preference, but I see how some might prefer allowing for functions with a single parameter...

> Could not parse the syntax tree for at least one file. Results may be invalid. Where do you have the SwiftSyntax parser lib installed on your distribution of Linux?...

In fact, here's all the linked libraries SwiftLint expects at runtime on Linux: ```console $ docker run ghcr.io/realm/swiftlint:latest ldd /usr/bin/swiftlint libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00000040051a9000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00000040052fa000) libutil.so.1 =>...

> Is there a way to know if Swifltint could not find a specific runtime library. I think you found a way here, it sounds to me like this is...

What version of Swift are you getting the `lib_InternalSwiftSyntaxParser.so` library from? It has to match exactly for SwiftSyntax to work.

If you're using Swift 5.7, can you please use main after #4203 was merged? I believe this is now fixed. Also, once we land https://github.com/realm/SwiftLint/pull/4216 this will no longer be...