Moved rubocop cop 'Style/FileName' exclusion back to .rubocop.yml, since it will be ignored as comment in websocket-server.rb.
This commit is contained in:
parent
bf857eeb76
commit
6decb755f5
2 changed files with 10 additions and 1 deletions
|
@ -154,6 +154,14 @@ 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:
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#!/usr/bin/env ruby
|
||||
# Copyright (C) 2012-2013 Zammad Foundation, http://zammad-foundation.org/
|
||||
# rubocop:disable Style/FileName, Rails/TimeZone
|
||||
# rubocop:disable Rails/TimeZone
|
||||
|
||||
$LOAD_PATH << './lib'
|
||||
require 'rubygems'
|
||||
require 'eventmachine'
|
||||
|
|
Loading…
Reference in a new issue