You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I propose that we integrate Rubocop into this project in order to promote more consistent code style and to increase our CodeClimate maintainability score (which is currently a "C").
Many times when I make code changes, my editor removes spaces at the end of lines, spaces from otherwise blank lines or converts tabs to spaces which clutters the diff output. I think that integrating Rubocop will help with this problem.
I propose the following Rubocop configuration which mostly takes the Rubocop defaults:
AllCops:
# Output extra information for each offense to make it easier to diagnose:DisplayCopNames: trueDisplayStyleGuide: trueExtraDetails: true# RuboCop enforces rules depending on the oldest version of Ruby which# your project supports:TargetRubyVersion: 2.3# The default max line length is 80 charactersLayout/LineLength:
Max: 120# The DSL for the gemspec file make it very hard to limit block length:Metrics/BlockLength:
Exclude:
- "*.gemspec"# When writing minitest tests, it is very hard to limit test class length:Metrics/ClassLength:
Exclude:
- "test/**/*_test.rb"
The text was updated successfully, but these errors were encountered:
Integrate Rubocop into this project
I propose that we integrate Rubocop into this project in order to promote more consistent code style and to increase our CodeClimate maintainability score (which is currently a "C").
Many times when I make code changes, my editor removes spaces at the end of lines, spaces from otherwise blank lines or converts tabs to spaces which clutters the diff output. I think that integrating Rubocop will help with this problem.
I propose the following Rubocop configuration which mostly takes the Rubocop defaults:
The text was updated successfully, but these errors were encountered: