Skip to content

Commit

Permalink
Merge pull request #17 from r7kamura/style-redundant
Browse files Browse the repository at this point in the history
Disable Style/RedundantLineContinuation by default
  • Loading branch information
r7kamura committed Apr 3, 2023
2 parents d6fe900 + ca161d9 commit 9503be9
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 14 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

- Disable Style/Semicolon by default.
- Disable Style/ParallelAssignment by default.
- Disable Style/RedundantLineContinuation by default and requires rubocop 1.49+ for that.

## 0.17.1 - 2022-07-14

Expand Down
29 changes: 15 additions & 14 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ PATH
remote: .
specs:
slimcop (0.17.1)
rubocop (>= 1.49)
slimi (>= 0.5.1)
templatecop

Expand All @@ -12,54 +13,54 @@ GEM
diff-lcs (1.5.0)
json (2.6.3)
parallel (1.22.1)
parser (3.2.0.0)
parser (3.2.2.0)
ast (~> 2.4.1)
rainbow (3.1.1)
rake (13.0.6)
regexp_parser (2.6.2)
regexp_parser (2.7.0)
rexml (3.2.5)
rspec (3.12.0)
rspec-core (~> 3.12.0)
rspec-expectations (~> 3.12.0)
rspec-mocks (~> 3.12.0)
rspec-core (3.12.0)
rspec-core (3.12.1)
rspec-support (~> 3.12.0)
rspec-expectations (3.12.2)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-mocks (3.12.3)
rspec-mocks (3.12.5)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-support (3.12.0)
rubocop (1.43.0)
rubocop (1.49.0)
json (~> 2.3)
parallel (~> 1.10)
parser (>= 3.2.0.0)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
rexml (>= 3.2.5, < 4.0)
rubocop-ast (>= 1.24.1, < 2.0)
rubocop-ast (>= 1.28.0, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.24.1)
parser (>= 3.1.1.0)
rubocop-capybara (2.17.0)
rubocop-ast (1.28.0)
parser (>= 3.2.1.0)
rubocop-capybara (2.17.1)
rubocop (~> 1.41)
rubocop-rspec (2.18.1)
rubocop-rspec (2.19.0)
rubocop (~> 1.33)
rubocop-capybara (~> 2.17)
ruby-progressbar (1.11.0)
slimi (0.7.2)
ruby-progressbar (1.13.0)
slimi (0.7.4)
temple
thor
tilt
templatecop (0.4.0)
parallel
parser
rubocop (>= 0.87)
temple (0.9.1)
temple (0.10.0)
thor (1.2.1)
tilt (2.0.11)
tilt (2.1.0)
unicode-display_width (2.4.2)

PLATFORMS
Expand Down
3 changes: 3 additions & 0 deletions default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,9 @@ Style/Next:
Style/ParallelAssignment:
Enabled: false

Style/RedundantLineContinuation:
Enabled: false

Style/RescueModifier:
Enabled: false

Expand Down
1 change: 1 addition & 0 deletions slimcop.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ Gem::Specification.new do |spec|
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
spec.require_paths = ['lib']

spec.add_dependency 'rubocop', '>= 1.49'
spec.add_dependency 'slimi', '>= 0.5.1'
spec.add_dependency 'templatecop'
end

0 comments on commit 9503be9

Please sign in to comment.