Added 'Rails/HasAndBelongsToMany' to the StyleGuide.

This commit is contained in:
Thorsten Eckel 2015-05-05 12:56:03 +02:00
parent 453280d199
commit 8f701f5ef6

View file

@ -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