summaryrefslogtreecommitdiffstats
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2022-05-27 22:26:48 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2022-05-27 22:26:48 +0000
commitaf4ccb3f87f70b7b77beafcb51ef0742cd85ec21 (patch)
tree8362f3f19fa997a3e3b8f52e29afc3db73561a23 /.rubocop.yml
parentd3d78456746b3777e7f54fbe44c6ac15ce67c2c8 (diff)
downloadredmine-af4ccb3f87f70b7b77beafcb51ef0742cd85ec21.tar.gz
redmine-af4ccb3f87f70b7b77beafcb51ef0742cd85ec21.zip
Drop support for Ruby 2.5 (#37159).
Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@21610 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index be6dfc461..63f7e6a68 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -1,7 +1,7 @@
inherit_from: .rubocop_todo.yml
AllCops:
- TargetRubyVersion: 2.5
+ TargetRubyVersion: 2.6
TargetRailsVersion: 6.1
NewCops: enable
@@ -198,6 +198,9 @@ Style/NegatedIfElseCondition:
Style/RaiseArgs:
Enabled: false
+Style/SlicingWithRange:
+ Enabled: false
+
Style/TrailingCommaInArrayLiteral:
Enabled: false