From: Amir E. Aharoni Date: Wed, 18 Feb 2015 00:33:20 +0000 (+0200) Subject: Explicitly allow lines up to 100 chars in Rubocop X-Git-Tag: 1.31.0-rc.0~12337^2 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22articles%22%2C%22id_article=%24ze_article%22%29%20.%20%22?a=commitdiff_plain;h=a6c17640fc571ebd173e5460bfbda599cf5f5f67;p=lhc%2Fweb%2Fwiklou.git Explicitly allow lines up to 100 chars in Rubocop According to https://www.mediawiki.org/wiki/Manual:Coding_conventions/Ruby Change-Id: If938720d48a8f5a17263a886bb94cd900b929b05 --- diff --git a/.rubocop.yml b/.rubocop.yml index 00479d1357..c04818e205 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -6,3 +6,6 @@ AllCops: - 'skins/**/*' - 'tests/frontend/node_modules/**/*' - 'vendor/**/*' + +Metrics/LineLength: + Max: 100 diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 3edb1266ee..90671fa9a4 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -10,11 +10,6 @@ Lint/UnusedMethodArgument: Enabled: false -# Offense count: 19 -# Configuration parameters: AllowURI, URISchemes. -Metrics/LineLength: - Max: 94 - # Offense count: 10 Style/Documentation: Enabled: false