]> git.openstreetmap.org Git - rails.git/blobdiff - .rubocop.yml
rename internal variable
[rails.git] / .rubocop.yml
index cbd62a052512bc82c9b6858a965391f206fb5327..77f26d863bf5b41a23ea4ca47540ab36eb21ff7c 100644 (file)
@@ -29,16 +29,16 @@ Metrics/ClassLength:
   Exclude:
     - 'test/**/*'
 
+Metrics/ModuleLength:
+  Max: 150
+
 Naming/FileName:
   Exclude:
     - 'script/deliver-message'
     - 'script/locale/reload-languages'
     - 'script/update-spam-blocks'
 
-Naming/UncommunicativeMethodParamName:
-  Enabled: false
-
-Rails/ApplicationRecord:
+Naming/MethodParameterName:
   Enabled: false
 
 Rails/CreateTableWithTimestamps:
@@ -64,6 +64,9 @@ Rails/SkipsModelValidations:
 Style/BracesAroundHashParameters:
   EnforcedStyle: context_dependent
 
+Style/Documentation:
+  Enabled: false
+
 Style/FormatStringToken:
   EnforcedStyle: template