2

I am looking for the way to run Swiftlint selectively for a single file rather than entire project. How one can run swiftlint so that it can check only one selected files?

manismku
  • 2,160
  • 14
  • 24

1 Answers1

2

Run swiftlint with --path option, like:

swiftlint --path 'path to your file'
Vladyslav Zavalykhatko
  • 15,202
  • 8
  • 65
  • 100