realm / SwiftLint

A tool to enforce Swift style and conventions.
https://realm.github.io/SwiftLint
MIT License
18.46k stars 2.2k forks source link

Option to enforce custom IDETemplateMacros.plist for file headers instead of mirroring it as a required_pattern #5651

Open rivera-ernesto opened 4 days ago

rivera-ernesto commented 4 days ago

New Issue Checklist

New rule request

As most people will couple custom IDETemplateMacros.plist's FILEHEADER with SwiftLint as described here. It would be nice if we could skip mirroring it in opt_in_rules's -file_header:required_pattern: and point to the plist file directly.