From 8f701f5ef6df44e9ed0497160b2d9f9b68b899d5 Mon Sep 17 00:00:00 2001 From: Thorsten Eckel Date: Tue, 5 May 2015 12:56:03 +0200 Subject: [PATCH] Added 'Rails/HasAndBelongsToMany' to the StyleGuide. --- .rubocop.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index 4914ebed6..46d90a820 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -12,6 +12,8 @@ AllCops: - 'bin/spring' - 'db/schema.rb' +# Zammad StyleGuide + Metrics/LineLength: Description: 'Limit lines to 80 characters.' StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#80-character-limits' @@ -143,6 +145,9 @@ Rails/FindEach: Description: 'Prefer all.find_each over all.find.' Enabled: false +Rails/HasAndBelongsToMany: + Enabled: false + # TODO @@ -269,7 +274,5 @@ Style/ClassMethods: Enabled: false Lint/Eval: Enabled: false -Rails/HasAndBelongsToMany: - Enabled: false Style/ModuleFunction: Enabled: false