From: Toshi MARUYAMA Date: Fri, 11 Dec 2020 14:17:11 +0000 (+0000) Subject: add Layout/LineLength to .rubocop.yml X-Git-Tag: 4.2.0~200 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a8a8b52614d990fbba4543905561d35e2a79022e;p=redmine.git add Layout/LineLength to .rubocop.yml git-svn-id: http://svn.redmine.org/redmine/trunk@20619 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/.rubocop.yml b/.rubocop.yml index 1d6cc8fb5..d791b4d6e 100644 --- a/.rubocop.yml +++ b/.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: