SwiftLint icon indicating copy to clipboard operation
SwiftLint copied to clipboard

Add Command Plugins

Open uhooi opened this issue 2 years ago • 1 comments

Motivation

SwiftLint already has a Build Tool Plugin in place. However, with the Build Tool Plugin, the files in the package cannot be modified, nor can they be executed at any given time. For this reason I have implemented the Command Plugin.

References

  • https://github.com/apple/swift-evolution/blob/c42a47e9e631a5cc8cf89567f3bfa799d0dc5011/proposals/0332-swiftpm-command-plugins.md#example-2-formatting-source-code
  • https://github.com/apple/swift-format/pull/449
  • https://github.com/nicklockwood/SwiftFormat/pull/1297
  • https://github.com/apple/swift-docc-plugin
  • #4176

uhooi avatar Jan 05 '23 07:01 uhooi

1 Message
:book: Skipping OSSCheck because SwiftLint hasn't changed compared to 'main'

Generated by :no_entry_sign: Danger

SwiftLintBot avatar Jan 05 '23 07:01 SwiftLintBot