♻️ Rename plugins to avoid clashing with SwiftLintPlugins by technocidal · Pull Request #1862 · MessageKit/MessageKit
👻
What does this implement/fix? Explain your changes.
SwiftLint separated their plugins into a separate repository and recommends that people use that version to integrate SwiftLint with their projects. Unfortunately the names they chose clash with the names of the Plugins in this repository. This means that one cannot use MessageKit and the SwiftLint Build Tool Plugin in the same project.
I've removed the Swift part from the names of the plugins in this repository. This fixes the issue but obviously is a pretty primitive fix. Other options I've considered:
- Using the SwiftLintPlugins in this repository
Works fine, but there is no option of configuring the command plugin to only run on a single target/module. This means that make lint leads to linting being run twice on the same files. There is also a difference in the number of files that are linted, probably because of slight configuration differences.
- Using a prefix (e.g. MK) for the plugins in this repository
Since there is no precedence for such a prefix, I hesitate to introduce one, especially because prefixes have fallen out of favor in general.
Does this close any currently open issues?
As far as I'm aware there is no open issue regarding this issue.
Any relevant logs, error output, etc?
Any other comments?
Where has this been tested?
Xcode 15.4