Search code examples
iosxcodeswiftlint

How to uninstall swiftlint from xcode, or to turn its warnings off


Please help me to understand how to uninstal swiftlint, or how to switch it warnings off completely(because it starts to ignore all rules from time to time). I installed swiftilnt from pkg file, and now cannot find a way to remove it. "run from Makefile" solution does not help me, because i don't understand where it is, and how to run it. In Xcode preferences i also can't find a way to uninstall it. Also i search in finder for "swiftlint", and it cannot find it too.

Xcode 8.2.1


Solution

  • If you want to have a possibility to control which rule is disabled/enabled and to set thresholds for warnings and errors for a given rule, just create a .swiftlint.yml file in your project directory...

    Take a look at this article:

    https://swifting.io/blog/2016/03/29/11-swiftlint/