Skip to content

Commit

Permalink
update rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
dczulada committed May 3, 2024
1 parent 952424b commit 7a22092
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 14 deletions.
29 changes: 26 additions & 3 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,33 @@ Documentation:
Enabled: false
Style/DateTime:
Enabled: false
Performance/HashEachMethods:
Enabled: false
Style/RedundantReturn:
Enabled: false
Style/WordArray:
Enabled: false

Style/ExpandPathArguments:
Enabled: false
Style/EmptyLineAfterGuardClause:
Enabled: false
Style/MultipleComparison:
Enabled: false
Layout/LeadingBlankLines:
Enabled: false
Style/UnneededCondition:
Enabled: false
Naming/MemoizedInstanceVariableName:
Enabled: false
Naming/UncommunicativeMethodParamName:
Enabled: false
Lint/UnneededCopDisableDirective:
Enabled: false
Performance/InefficientHashSearch:
Enabled: false
Layout/AlignHash:
Exclude:
- 'test/unit/hqmf/model/nqf_0002_test.rb'
- 'lib/hqmf-model/data_criteria.rb'
- 'lib/measure-loader/vsac_value_set_loader.rb'
- 'lib/util/code_system_helper.rb'
- 'test/test_helper.rb'
- 'test/unit/hqmf/model/population_criteria_test.rb'
10 changes: 0 additions & 10 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,6 @@ Layout/AlignArray:
Exclude:
- 'test/unit/hqmf/model/nqf_0002_test.rb'

# Offense count: 51
# Cop supports --auto-correct.
# Configuration parameters: EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle.
# SupportedHashRocketStyles: key, separator, table
# SupportedColonStyles: key, separator, table
# SupportedLastArgumentHashStyles: always_inspect, always_ignore, ignore_implicit, ignore_explicit
Layout/AlignHash:
Exclude:
- 'test/unit/hqmf/model/nqf_0002_test.rb'

# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, IndentationWidth.
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ gem 'mongoid', '> 6.0.5', '< 9.0.0'

group :development, :test do
gem 'bundler-audit'
gem 'rubocop', '~> 0.52.1', require: false
gem 'rubocop', '~> 0.63.0', require: false
gem 'byebug'
gem 'pry'
gem 'pry-nav'
Expand Down

0 comments on commit 7a22092

Please sign in to comment.