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