From 123f88aa34b022af937c40d11bbbd2d77404c97f Mon Sep 17 00:00:00 2001 From: Thorsten Eckel Date: Wed, 6 May 2015 11:16:23 +0200 Subject: [PATCH] Corrected with rubocop cop 'Style/FileName', excluded 'websocket-server.rb'. --- .rubocop.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index 08c1ec621..4e539d0c0 100644 --- a/.rubocop.yml +++ b/.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: