Python script to autodetect a base set of swiftlint rules
Python script to autodetect a base set of swiftlint rules. Installation brew install pipx pipx install https://github.com/schwa/swiftlint-autodetect.git Usage swiftlint-autodetect ~/Projects/MyProject And this outputs: analyzer_rules: – capture_variable – explicit_self – unused_declaration – unused_import only_rules: # – anonymous_argument_in_multiline_closure – anyobject_protocol # – array_init # and so on How this works swiftlint-autodetect
Read more