Browse Source

Corrected with rubocop cop 'Style/FileName', excluded 'websocket-server.rb'.

Thorsten Eckel 9 years ago
parent
commit
123f88aa34
1 changed files with 7 additions and 2 deletions
  1. 7 2
      .rubocop.yml

+ 7 - 2
.rubocop.yml

@@ -153,6 +153,13 @@ Rails/HasAndBelongsToMany:
 
 # TODO
 
+Style/FileName:
+  Description: 'Use snake_case for source file names.'
+  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#snake-case-files'
+  Enabled: true
+  Exclude:
+    - 'script/websocket-server.rb'
+
 Style/Documentation:
   Description: 'Document classes and non-namespace modules.'
   Enabled: false
@@ -226,8 +233,6 @@ Lint/StringConversionInInterpolation:
   Enabled: false
 Metrics/PerceivedComplexity:
   Enabled: false
-Style/FileName:
-  Enabled: false
 Style/GlobalVars:
   Enabled: false
 Rails/TimeZone: