Skip to content

Commit

Permalink
updated rubocop_shopify_style_guide and related files (publiclab#10877)
Browse files Browse the repository at this point in the history
* updated rubocop_shopify_style_guide and related files

* removed redundant mysql command in gem file and updated the rubocop-rails gem command

* rubocop rails from rubocop file

* removed rubocop-rails, rubocop performance and rubocop-rspec from the rubocop yml file

* added a ruby version for rubocop

* updated the rubocop yml file and gemfile
  • Loading branch information
kunmi02 authored Apr 5, 2022
1 parent 160b3b6 commit c3a58e7
Show file tree
Hide file tree
Showing 5 changed files with 51 additions and 190 deletions.
9 changes: 6 additions & 3 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# Start with Spotifys style guide as a base then customize from there

inherit_from:
- .rubocop_shopify_styleguide.yml
- .rubocop_todo.yml

# Apply rule to all cops
AllCops:
Include:
Include:
- '*/**/*.rb'
- '/Rakefile'
- '/config.ru'
Expand All @@ -25,7 +26,9 @@ AllCops:
- 'public/**/*'
- 'Dangerfile'
- 'app/views/**/*'
TargetRubyVersion: '2.4'
SuggestExtensions: false
NewCops: enable
TargetRubyVersion: '2.5'

Layout/MultilineMethodCallIndentation:
Enabled: false
Expand Down Expand Up @@ -72,7 +75,7 @@ Metrics/ParameterLists:
Style/StringLiterals:
Enabled: false

Metrics/LineLength:
Layout/LineLength:
Max: 423

Style/Documentation:
Expand Down
Loading

0 comments on commit c3a58e7

Please sign in to comment.