Skip to content

Commit

Permalink
Merge pull request #17 from wundertax/rubocop-88
Browse files Browse the repository at this point in the history
Bump rubocop and gems
  • Loading branch information
mhenrixon authored Jul 17, 2020
2 parents a3400b8 + 96c740f commit a2e2610
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 3 deletions.
62 changes: 61 additions & 1 deletion config/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,13 @@ Lint/AmbiguousBlockAssociation:
Enabled: true
Exclude:
- spec/**/*_spec.rb

Lint/DeprecatedOpenSSLConstant:
Enabled: true

Lint/DuplicateElsifCondition:
Enabled: true

Lint/MixedRegexpCaptureTypes:
Enabled: true

Expand Down Expand Up @@ -124,6 +128,34 @@ Naming/PredicateName:
Naming/VariableNumber:
EnforcedStyle: non_integer

# ===================
# === Performance ===
# ===================

Performance/AncestorsInclude:
Enabled: true

Performance/BigDecimalWithNumericArgument:
Enabled: true

Performance/RedundantSortBlock:
Enabled: true

Performance/RedundantStringChars:
Enabled: true

Performance/ReverseFirst:
Enabled: true

Performance/SortReverse:
Enabled: true

Performance/Squeeze:
Enabled: true

Performance/StringInclude:
Enabled: true

# ================ #
# Rails Cops #
# ================ #
Expand Down Expand Up @@ -192,9 +224,22 @@ RSpec/NestedGroups:
Max: 6

# =============== #
# Style Cops #
# Style Cops #
# =============== #


Style/AccessorGrouping:
Enabled: true

Style/ArrayCoercion:
Enabled: true

Style/BisectedAttrAccessor:
Enabled: true

Style/CaseLikeIf:
Enabled: true

Style/Documentation:
Enabled: false

Expand All @@ -207,6 +252,12 @@ Style/FrozenStringLiteralComment:
Style/HashEachMethods:
Enabled: true

Style/HashAsLastArrayItem:
Enabled: true

Style/HashLikeCase:
Enabled: true

Style/HashTransformKeys:
Enabled: true

Expand All @@ -219,6 +270,15 @@ Style/ModuleFunction:
Style/PercentLiteralDelimiters:
Enabled: true

Style/RedundantAssignment:
Enabled: true

Style/RedundantFileExtensionInRequire:
Enabled: true

Style/RedundantFetchBlock:
Enabled: true

Style/RedundantRegexpCharacterClass:
Enabled: true

Expand Down
4 changes: 2 additions & 2 deletions rubocop-wundertax.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

Gem::Specification.new do |s|
s.name = 'rubocop-wundertax'
s.version = '2.0.5'
s.version = '2.1.0'
s.summary = 'RuboCop Wundertax'
s.description = 'Code style checking for Wundertax Ruby repositories'
s.homepage = 'https://github.com/wundertax/rubocop-wundertax'
s.license = 'MIT'

s.files = Dir['README.md', 'LICENSE', 'config/*.yml']

s.add_dependency 'rubocop', '~> 0.85'
s.add_dependency 'rubocop', '~> 0.88'
s.add_dependency 'rubocop-performance'
s.add_dependency 'rubocop-rails'
s.add_dependency 'rubocop-rspec'
Expand Down

0 comments on commit a2e2610

Please sign in to comment.