diff options
author | Go MAEDA <maeda@farend.jp> | 2022-10-29 08:06:14 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2022-10-29 08:06:14 +0000 |
commit | 1ae0c73920596c0d1f74d2b6eb274f856a2ee54c (patch) | |
tree | 87cb64b3de854a77cfd1a9227325aa81b5ceb79a /.rubocop.yml | |
parent | 5817752289cd4e8fa30ac8375935e94f2f94d538 (diff) | |
download | redmine-1ae0c73920596c0d1f74d2b6eb274f856a2ee54c.tar.gz redmine-1ae0c73920596c0d1f74d2b6eb274f856a2ee54c.zip |
Update RuboCop Rails to 2.17 (#37248).
git-svn-id: https://svn.redmine.org/redmine/trunk@21931 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to '.rubocop.yml')
-rw-r--r-- | .rubocop.yml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml index 83ce7a33e..aa6ea904b 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -116,6 +116,21 @@ Naming/BinaryOperatorParameterName: Naming/PredicateName: Enabled: false +Rails/ActionControllerFlashBeforeRender: + # False positive in actions where `redirect_to_referer_or` is used + Enabled: false + +Rails/ActionControllerTestCase: + Enabled: false + +Rails/ActionOrder: + Enabled: false + +Rails/ActiveSupportOnLoad: + Exclude: + # TODO: Need to check the impact on plugins. Disable for now. + - 'lib/redmine/preparation.rb' + Rails/BulkChangeTable: Exclude: - 'db/migrate/20120714122200_add_workflows_rule_fields.rb' @@ -136,6 +151,14 @@ Rails/FilePath: Rails/HelperInstanceVariable: Enabled: false +Rails/Pluck: + Exclude: + # `pluck` is not available in Gemfile + - 'Gemfile' + +Rails/RootPathnameMethods: + Enabled: false + Rails/SquishedSQLHeredocs: Enabled: false |