Set allowed variable names


In our organisation we are trying to get rid of certain words and abbreviations in our code.
Is there a way to have ReSharper mark invalid variable and function-names based on a list?
Alternatively, can we make some pattern-rules for these words/abbreviations?

For example, we do not want anyone to use the prefix "my", as in "myFunction" or "myVariable".
Tried to set up a filter to catch these but did not get the code right.


Please sign in to leave a comment.