diff --git a/.rubocop.yml b/.rubocop.yml index c86cb7b25..3190c2870 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -168,6 +168,9 @@ Rails/Pluck: Rails/RootPathnameMethods: Enabled: false +Rails/SkipsModelValidations: + Enabled: false + Rails/SquishedSQLHeredocs: Enabled: false diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index fd17051b9..7eac207f6 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -606,11 +606,6 @@ Rails/ShortI18n: - 'test/unit/version_test.rb' - 'test/unit/wiki_page_test.rb' -# Configuration parameters: ForbiddenMethods, AllowedMethods. -# ForbiddenMethods: decrement!, decrement_counter, increment!, increment_counter, insert, insert!, insert_all, insert_all!, toggle!, touch, touch_all, update_all, update_attribute, update_column, update_columns, update_counters, upsert, upsert_all -Rails/SkipsModelValidations: - Enabled: false - # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: EnforcedStyle. # SupportedStyles: strict, flexible