Skip to content

Commit

Permalink
Switch to rubocop-airbnb (#33)
Browse files Browse the repository at this point in the history
* Start switch to rubocop-airbnb
* Correct rubocop violations
* rubocop-rake
* Use rubocop TargetRubyVersion: 2.5
  • Loading branch information
pariser authored Mar 5, 2023
1 parent 6c67157 commit 60cfe47
Show file tree
Hide file tree
Showing 15 changed files with 104 additions and 2,081 deletions.
21 changes: 4 additions & 17 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,5 @@
###########################
# Configuration for rubocop
# in .rubocop.yml
# Most of these are disabling existing cops, primarily
# due to a smattering of different styles and loose
# guidlines for contributions.
#
# Any of these may be changed.

##############
# Global rules

AllCops:
TargetRubyVersion: 2.5
Exclude:
- '.git/**/*'
- 'spec/gen-ruby/**/*'
Expand All @@ -19,8 +8,6 @@ AllCops:
Rails:
Enabled: false

# Inherit default rules first, and then override those rules with our violation
# whiteelist.
inherit_from:
- .rubocop_default.yml
- .rubocop_todo.yml
require:
- rubocop-airbnb
- rubocop-rake
Loading

0 comments on commit 60cfe47

Please sign in to comment.