1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-10-17 17:01:01 +00:00

Disable RuboCop Rails/SkipsModelValidations (#39887).

git-svn-id: https://svn.redmine.org/redmine/trunk@23027 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA 2024-09-06 05:24:25 +00:00
parent d46ca0e46f
commit 7ec182925e
2 changed files with 3 additions and 5 deletions

View File

@ -168,6 +168,9 @@ Rails/Pluck:
Rails/RootPathnameMethods:
Enabled: false
Rails/SkipsModelValidations:
Enabled: false
Rails/SquishedSQLHeredocs:
Enabled: false

View File

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