Added enabled rubocop cop 'Style/FileName' to Zammad StyleGuide with 'websocket-server.rb' exclusion.
This commit is contained in:
parent
9387acd22e
commit
5b352c93e8
1 changed files with 7 additions and 7 deletions
14
.rubocop.yml
14
.rubocop.yml
|
@ -154,6 +154,13 @@ Style/ClassAndModuleChildren:
|
||||||
Description: 'Checks style of children classes and modules.'
|
Description: 'Checks style of children classes and modules.'
|
||||||
Enabled: false
|
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
|
# 2.0
|
||||||
|
|
||||||
Metrics/PerceivedComplexity:
|
Metrics/PerceivedComplexity:
|
||||||
|
@ -181,13 +188,6 @@ Metrics/BlockNesting:
|
||||||
|
|
||||||
# TODO
|
# 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:
|
Style/Documentation:
|
||||||
Description: 'Document classes and non-namespace modules.'
|
Description: 'Document classes and non-namespace modules.'
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
|
Loading…
Reference in a new issue