1
0

.rubocop.yml 674 B

12345678910111213141516171819202122232425262728293031323334
  1. ---
  2. AllCops:
  3. CacheRootDirectory: tmp
  4. DisplayStyleGuide: true
  5. Exclude:
  6. - Vagrantfile
  7. - config/initializers/json_ld*
  8. - lib/mastodon/migration_helpers.rb
  9. ExtraDetails: true
  10. NewCops: enable
  11. TargetRubyVersion: 3.2 # Oldest supported ruby version
  12. inherit_from:
  13. - .rubocop/layout.yml
  14. - .rubocop/metrics.yml
  15. - .rubocop/naming.yml
  16. - .rubocop/rails.yml
  17. - .rubocop/rspec_rails.yml
  18. - .rubocop/rspec.yml
  19. - .rubocop/style.yml
  20. - .rubocop/custom.yml
  21. - .rubocop_todo.yml
  22. - .rubocop/strict.yml
  23. inherit_mode:
  24. merge:
  25. - Exclude
  26. require:
  27. - rubocop-rails
  28. - rubocop-rspec
  29. - rubocop-rspec_rails
  30. - rubocop-performance
  31. - rubocop-capybara