dral3x / StringsLint

📱Ensure your localized strings are complete and never unused 👍
MIT License
68 stars 10 forks source link

SwiftUI - Disable implicit detection #34

Open AnthoPakPak opened 1 month ago

AnthoPakPak commented 1 month ago

Thanks a lot for the lib!

I'd like to prevent it to detect SwiftUI implicitely. For example Text("abc") and Button("abc") are detected. Is there a way to prevent this behavior? I only want to detect them when it is explicit.

I've researched in the lib but can't find if there's a way to do this :)

dral3x commented 1 month ago

Hey @AnthoPakPak, thank you for using the lib!

At the moment there's no way to disable those implicit detections.

You can open a PR that makes those implicit checks being turned off via configuration (SwiftParserConfiguration). I'm totally interested in integrating this feature!