Added enabled rubocop cop 'Style/FileName' to Zammad StyleGuide with 'websocket-server.rb' exclusion.

This commit is contained in:
Thorsten Eckel 2015-05-08 10:26:02 +02:00
parent 9387acd22e
commit 5b352c93e8

View file

@ -154,6 +154,13 @@ Style/ClassAndModuleChildren:
Description: 'Checks style of children classes and modules.'
Enabled: false
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'
# 2.0
Metrics/PerceivedComplexity:
@ -181,13 +188,6 @@ Metrics/BlockNesting:
# 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