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

Update one letter variables to be more descriptive #3400

Merged
merged 8 commits into from
Oct 28, 2019
Prev Previous commit
Next Next commit
Disable Naming/RescuedExceptionsVariableName
We want to name rescued errors as error not simply e in order to clear
up one-letter variables that are not communicative.
  • Loading branch information
JDutil committed Oct 26, 2019
commit ab64af1890455af34ccead3ca813ee81c60a91e6
4 changes: 4 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -27,6 +27,10 @@ Style/ClassVars:
Naming/PredicateName:
Enabled: false

# We want to name rescued errors as error not simply e.
Naming/RescuedExceptionsVariableName:
Enabled: false

Naming/AccessorMethodName:
Enabled: false