You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have followed the installation instructions from the github readMe, and when I run swiftlint form the terminal, it correctly outputs the field with linting warnings/errors in them. However, when I add the build script to the Build Phase as 'SwiftLint'm using the bash code found in the ReadME, I consistently get this error:
Linting Swift files in current working directory
Error: No lintable files found at paths: ''
Command PhaseScriptExecution failed with a nonzero exit code
Mention the command or other SwiftLint integration method that caused the issue. Include stack traces or command output.
Linting Swift files in current working directory
Error: No lintable files found at paths: ''
Command PhaseScriptExecution failed with a nonzero exit code
Environment
SwiftLint version (run swiftlint version to be sure)
0.57.0
Xcode version (run xcodebuild -version to be sure)
Xcode 16.1
Build version 16B40
Installation method used (Homebrew, CocoaPods, building from source, etc)
I used HomeBrew to install swiftlint
Configuration file:
I do not have a yml file set-up for configurations since I am just installing swiftlint for the first time.```Are you using [nested configurations](https://github.com/realm/SwiftLint#nested-configurations)? If so, paste theirrelative paths and respective contents.I am not using nested configurations - i am just starting a swift project for the first time and am surprised that Swift does not have a plugin like 'Prettier' for VSCode.
The text was updated successfully, but these errors were encountered:
SimplyDanny
added
the
help
Questions or user problems that require more explanation rather than code changes.
label
Nov 10, 2024
New Issue Checklist
Bug Description
I have followed the installation instructions from the github readMe, and when I run swiftlint form the terminal, it correctly outputs the field with linting warnings/errors in them. However, when I add the build script to the Build Phase as 'SwiftLint'm using the bash code found in the ReadME, I consistently get this error:
Linting Swift files in current working directory
Error: No lintable files found at paths: ''
Command PhaseScriptExecution failed with a nonzero exit code
Mention the command or other SwiftLint integration method that caused the issue. Include stack traces or command output.
Environment
swiftlint version
to be sure)xcodebuild -version
to be sure)The text was updated successfully, but these errors were encountered: