SwiftLint
SwiftLint copied to clipboard
Run script fails on Xcode 8.2.1
Environment:
- Use Homebrew install SwiftLint
- SwiftLint version 0.16.1
- Xcode 8.2.1
- Create a new project and add run script in build phases
- put .swiftlint.yml file in project root folder
in .swiftlint.yml with following line:
included: # paths to include during linting. `--path` is ignored if present.
- Source
will return
Loading configuration from '.swiftlint.yml'
Correcting Swift files in current working directory
No lintable files found at path ''
If comment out the - Source from included the error will be gone but AppDelegate.swift will appear warnings without any customize changes