We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I suggest supporting substitutions in custom rules to provide contextual warnings and errors.
Example of the rule with a substitution:
corner_radius_setter: name: "CornerRadius setter" regex: 'layer\.cornerRadius = (.+)' message: "Use setCornerRadius($1) instead" severity: warning
So for this line:
layer.cornerRadius = 34
We get the message: Use setCornerRadius(34) instead
The text was updated successfully, but these errors were encountered:
No branches or pull requests
New Issue Checklist
Feature Request or Enhancement Proposal
I suggest supporting substitutions in custom rules to provide contextual warnings and errors.
Example of the rule with a substitution:
So for this line:
We get the message:
Use setCornerRadius(34) instead
The text was updated successfully, but these errors were encountered: