Skip to content
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.

Commit

Permalink
update rubocop config
Browse files Browse the repository at this point in the history
  • Loading branch information
Jammjammjamm committed Nov 13, 2019
1 parent 251ece1 commit 7ce8ab9
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 25 deletions.
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Style/SymbolArray:

Metrics/LineLength:
Exclude:
- 'lib/app/modules/**/*'
- 'lib/modules/**/*'
- 'lib/app/helpers/browser_logic.rb'

# Use code climate's metrics measurement rather than rubocop's
Expand Down
41 changes: 17 additions & 24 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2019-09-26 15:38:33 -0400 using RuboCop version 0.74.0.
# on 2019-11-05 10:58:04 -0500 using RuboCop version 0.74.0.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
Expand All @@ -9,19 +9,13 @@
# Offense count: 6
Lint/EmptyWhen:
Exclude:
- 'lib/app/modules/argonaut/argonaut_careplan_sequence.rb'
- 'lib/app/modules/argonaut/argonaut_diagnostic_report_sequence.rb'
- 'lib/app/modules/argonaut/argonaut_observation_sequence.rb'
- 'lib/app/modules/argonaut/argonaut_procedure_sequence.rb'
- 'lib/app/modules/argonaut/argonaut_vital_signs_observation_sequence.rb'
- 'lib/modules/argonaut/argonaut_careplan_sequence.rb'
- 'lib/modules/argonaut/argonaut_diagnostic_report_sequence.rb'
- 'lib/modules/argonaut/argonaut_observation_sequence.rb'
- 'lib/modules/argonaut/argonaut_procedure_sequence.rb'
- 'lib/modules/argonaut/argonaut_vital_signs_observation_sequence.rb'
- 'lib/tasks/tasks.rake'

# Offense count: 1
# Configuration parameters: AllowComments.
Lint/HandleExceptions:
Exclude:
- 'lib/app/sequence_base.rb'

# Offense count: 1
Lint/NonLocalExitFromIterator:
Exclude:
Expand All @@ -33,20 +27,19 @@ Lint/ShadowingOuterLocalVariable:
- 'lib/app/utils/terminology.rb'
- 'lib/app/utils/valueset.rb'

# Offense count: 32
# Offense count: 36
Metrics/CyclomaticComplexity:
Max: 30

# Offense count: 32
# Offense count: 19
Style/ClassVars:
Exclude:
- 'lib/app/modules/onc_program/onc_ehr_launch_sequence.rb'
- 'lib/app/modules/onc_program/onc_standalone_launch_sequence.rb'
- 'lib/app/sequence_base.rb'
- 'lib/app/utils/logged_rest_client.rb'
- 'lib/app/utils/terminology.rb'
- 'lib/modules/onc_program/onc_ehr_launch_sequence.rb'
- 'lib/modules/onc_program/onc_standalone_launch_sequence.rb'

# Offense count: 132
# Offense count: 162
Style/Documentation:
Enabled: false

Expand All @@ -57,12 +50,11 @@ Style/GuardClause:
- 'lib/app/utils/tls_tester.rb'
- 'lib/app/utils/validation.rb'

# Offense count: 3
# Offense count: 1
# Cop supports --auto-correct.
Style/IfUnlessModifier:
Exclude:
- 'lib/app/models/testing_instance.rb'
- 'lib/app/utils/assertions.rb'

# Offense count: 1
Style/MixinUsage:
Expand All @@ -79,12 +71,13 @@ Style/MutableConstant:

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: AllowAsExpressionSeparator.
Style/Semicolon:
# Configuration parameters: EnforcedStyle, AllowInnerSlashes.
# SupportedStyles: slashes, percent_r, mixed
Style/RegexpLiteral:
Exclude:
- 'test/unit/sequence_validation_test.rb'
- 'test/test_helper.rb'

# Offense count: 1064
# Offense count: 542
# Cop supports --auto-correct.
# Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
# URISchemes: http, https
Expand Down

0 comments on commit 7ce8ab9

Please sign in to comment.