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

feat: Add optional linting rule to check function args and local variables have _ prefix #36

Open
alexkeating opened this issue Sep 8, 2023 · 0 comments

Comments

@alexkeating
Copy link

Description

At Scopelift we have used the convention of adding an underscore prefix for method params and local vars.

A user should be able to turn on this rule with a cli flag. It should look something like --func-params-and-local-variable-leading-underscore. If possible it would also be good to add the ability to set this rule in a custom scopelint section in the foundry.toml.

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

1 participant