realm/SwiftLint ? reverse-engineered prompt

Reverse engineered prompt

Build me a Swift linting tool that checks code for common style and convention problems, like the kind of rules people expect in a modern Swift codebase.

I want it to scan Swift files, report violations clearly, and work from the command line so I can run it in a project or in CI. It should also support automatic fixes for the rules that can be safely corrected. If it makes sense, add support for using it as a Swift Package plugin or build tool plugin too, since that’s a common way people wire it into Xcode and package projects.

Keep the rules focused on the usual Swift community style guidance, and use SwiftSyntax where possible for the checks. Make sure it has a clean config file, good error messages, and a simple install and usage story. If you need to look up current Swift docs or package plugin details online, go ahead.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab