mirror of
https://github.com/redmine/redmine.git
synced 2026-06-18 16:00:00 +02: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:
10
.rubocop.yml
10
.rubocop.yml
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user