Open jyligehc opened 2 months ago
Not a robocop rule, but you might still be interested in this utility script that Robin Mackaij shared during his tutorial "Working with Resources, Libraries and Variables: patterns and pitfalls" during RoboCon24:
https://github.com/robinmackaij/robovar
The script checks the variables name are used consistently over the whole project.
As there is a rule for checking that section variable is in UPPERCASE should there also be a rule for checking that the name is consistently used within that file?
Or maybe the rule inconsistent-variable-name should check those also? And maybe possible-variable-overwriting also?