mac-cain13 / R.swift

Strong typed, autocompleted resources like images, fonts and segues in Swift projects
MIT License
9.49k stars 763 forks source link

Compatibility with and/or exclusion from SwiftLint rules #836

Closed deemoney-rupendra closed 1 week ago

deemoney-rupendra commented 1 year ago

I have few SwiftLint rules defined in my project which conflicts with RSwift generated variables. I used .swiftlint.yml to exclude R.generated.swift before, but now it seems R.generated.swift is not generated in Rswift 7.0 (Ref: https://github.com/mac-cain13/R.swift/blob/main/Documentation/Migration.md). My query is, how can I exclude RSwift related definitions and variables from SwiftLint for Rswift 7.*?

mac-cain13 commented 1 week ago

R.generated.swift now only exists in the derived data folder, just like Apples generated code. So I think SwiftLint will ignore this by default!