Skip to content

Commit

Permalink
Add rubocop-inclusivity (#1267)
Browse files Browse the repository at this point in the history
Co-authored-by: Mattia Giuffrida <giuffrida.mattia@gmail.com>
  • Loading branch information
olleolleolle and iMacTia committed Apr 14, 2021
1 parent 38d9398 commit bf7d855
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .rubocop.yml
@@ -1,6 +1,7 @@
inherit_from: .rubocop_todo.yml

require:
- rubocop-inclusivity
- rubocop-packaging
- rubocop-performance

Expand All @@ -9,6 +10,9 @@ AllCops:
DisplayStyleGuide: true
TargetRubyVersion: 2.4

Inclusivity/Race:
Enabled: true

Metrics/BlockLength:
Exclude:
- spec/**/*.rb
Expand Down
1 change: 1 addition & 0 deletions Gemfile
Expand Up @@ -13,6 +13,7 @@ end

group :lint, :development do
gem 'rubocop', '~> 0.90.0'
gem 'rubocop-inclusivity', '~> 1.0'
gem 'rubocop-packaging', '~> 0.5'
gem 'rubocop-performance', '~> 1.0'
end
Expand Down

0 comments on commit bf7d855

Please sign in to comment.