Skip to content
New issue

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

Section variable name should be checked for inconsistent variable name #1084

Open
jyligehc opened this issue May 13, 2024 · 1 comment
Open

Comments

@jyligehc
Copy link

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?

@gohierf
Copy link

gohierf commented May 13, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants