diff .rubocop.yml @ 499:d2ef59c9a4b4

Use rails rubocop
author nanaya <me@nanaya.net>
date Sun, 15 Dec 2024 22:33:27 +0900
parents 1c6a056269e6
children
line wrap: on
line diff
--- a/.rubocop.yml	Sun Dec 15 22:31:14 2024 +0900
+++ b/.rubocop.yml	Sun Dec 15 22:33:27 2024 +0900
@@ -1,11 +1,3 @@
-AllCops:
-  Include:
-    - Gemfile
-    - config/local_config.rb.example
-  Exclude:
-    - bin/*
-    - config/local_config.rb
-    - db/schema.rb
-
-Rails:
-  Enabled: true
+# Omakase Ruby styling for Rails
+inherit_gem:
+  rubocop-rails-omakase: rubocop.yml