Skip to content

Commit

Permalink
Configurate rails rules w/ Rspec
Browse files Browse the repository at this point in the history
  • Loading branch information
sassani134 committed Sep 26, 2024
1 parent 4c9072a commit 5e56be2
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1 +1,23 @@
inherit_from: .rubocop_todo.yml

require:
- rubocop-rails
- rubocop-performance
- rubocop-rspec

AllCops:
NewCops: enable # active les nouvelles règles par défaut
TargetRubyVersion: 3.2.2 # version de Ruby utilisée dans l'application
Exclude:
- 'db/schema.rb'
- 'bin/*'
- 'node_modules/**/*'
- 'config/**/*'
- 'vendor/**/*'

Rails:
Enabled: true
Performance:
Enabled: true
RSpec:
Enabled: true

0 comments on commit 5e56be2

Please sign in to comment.