Skip to content

Commit

Permalink
ruby: include Rubocop
Browse files Browse the repository at this point in the history
We use a fair bit of Ruby logic here and there so until this website
disappears (not soon), we might as well ensure we're hacking as one.
  • Loading branch information
freesteph committed Oct 15, 2024
1 parent 88470b2 commit c2d5d84
Show file tree
Hide file tree
Showing 24 changed files with 1,018 additions and 257 deletions.
18 changes: 18 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
inherit_from: .rubocop_todo.yml

# The behavior of RuboCop can be controlled via the .rubocop.yml
# configuration file. It makes it possible to enable/disable
# certain cops (checks) and to alter their behavior if they accept
# any parameters. The file can be placed either in your home
# directory or in some project directory.
#
# RuboCop will start looking for the configuration file in the directory
# where the inspected file is and continue its way up to the root directory.
#
# See https://docs.rubocop.org/rubocop/configuration
require:
- rubocop-rspec
- rubocop-rake

AllCops:
NewCops: enable
Loading

0 comments on commit c2d5d84

Please sign in to comment.