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: