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:
Thorsten Eckel 2015-05-08 15:58:28 +02:00
parent bf857eeb76
commit 6decb755f5
2 changed files with 10 additions and 1 deletions

View file

@ -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:

View file

@ -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'