Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stackotter/swift-lint-plugin
A SwiftPM plugin that adds a linting command
https://github.com/stackotter/swift-lint-plugin
Last synced: 4 days ago
JSON representation
A SwiftPM plugin that adds a linting command
- Host: GitHub
- URL: https://github.com/stackotter/swift-lint-plugin
- Owner: stackotter
- Created: 2022-02-04T23:33:58.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-04-17T22:48:02.000Z (over 2 years ago)
- Last Synced: 2024-11-02T14:23:05.034Z (11 days ago)
- Language: Swift
- Size: 3.91 KB
- Stars: 10
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SwiftLintPlugin
This is a SwiftPM plugin that adds a lint command. SwiftPM plugins are only available in Swift 5.6+
## Usage
Add the following dependency to your `Package.swift` file:
```swift
.package(name: "SwiftLintPlugin", url: "https://github.com/stackotter/swift-lint-plugin", branch: "main")
```And then lint your project with:
```swift
swift package plugin --disable-sandbox lint
```Or if you want to lint a specific target:
```swift
swift package plugin --target MyTarget --disable-sandbox lint
```