From 5b352c93e8bd854f0610e0394e24daaeee7fad44 Mon Sep 17 00:00:00 2001 From: Thorsten Eckel Date: Fri, 8 May 2015 10:26:02 +0200 Subject: [PATCH] Added enabled rubocop cop 'Style/FileName' to Zammad StyleGuide with 'websocket-server.rb' exclusion. --- .rubocop.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index ec87de0af..ff49acbde 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -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