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

add Layout/LineLength to .rubocop.yml

git-svn-id: http://svn.redmine.org/redmine/trunk@20619 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2020-12-11 14:17:11 +00:00
parent b439380a32
commit a8a8b52614

View File

@ -45,6 +45,16 @@ Layout/EmptyLinesAroundAccessModifier:
Layout/EmptyLineBetweenDefs:
AllowAdjacentOneLineDefs: true
Layout/LineLength:
Enabled: true
IgnoredPatterns: ['\A\s+test \".+\" do\z', '\A\s*\#']
Exclude:
- 'db/migrate/0*.rb'
- 'db/migrate/1*.rb'
- 'db/migrate/201*.rb'
- 'db/migrate/20200*.rb'
- 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
Layout/RescueEnsureAlignment:
Enabled: true
Exclude: