Skip to content

Commit

Permalink
Add minimal rubocop config to dev workflow (#753)
Browse files Browse the repository at this point in the history
* Add minimal rubocop config to dev workflow

* Add Rubucop TODO

---------

Co-authored-by: Camille Villa <5402927+camillevilla@users.noreply.github.com>
  • Loading branch information
camillevilla and camillevilla authored Dec 21, 2023
1 parent 2ee4b3a commit 57c6e6c
Show file tree
Hide file tree
Showing 5 changed files with 1,263 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ public/system
# Ignore application configuration
/config/application.yml

.rubocop.yml

.DS_Store
.env

Expand Down
38 changes: 38 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# 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


inherit_from: .rubocop_todo.yml
require:
- rubocop-rspec
- rubocop-performance
- rubocop-rails

AllCops:
TargetRubyVersion: 3.2
NewCops: enable

Gemspec:
Enabled: true
Layout:
Enabled: false
Lint:
Enabled: true
Performance:
Enabled: true
Rails:
Enabled: true
RSpec:
Enabled: true
Security:
Enabled: true
Style:
Enabled: false
Loading

0 comments on commit 57c6e6c

Please sign in to comment.