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