Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide full tutorial how to create custom rule and implement it to project #5948

Open
CaramelHeaven opened this issue Jan 10, 2025 · 0 comments

Comments

@CaramelHeaven
Copy link

CaramelHeaven commented Jan 10, 2025

Based on this video https://vimeo.com/819268038 I cloned this Swift repository and created my own rule, then using my new cloned repository I added it to my project (where I'm currently using tuist)

.package(url: "https://xxx/new_swiftlint.git", .revision("1d2c3s"))

.package(product: "SwiftLintBuildToolPlugin", type: .plugin)

I have successfully added swiftlint but it seems the new rules are hidden or something. After build step my rules don't work but other default rules work fine. Can you give an example or add a link (if this has been discussed before) on how to use the new custom rules in a project

Should I compile the binary or something after creating the rule? Or something else?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant