From a6c17640fc571ebd173e5460bfbda599cf5f5f67 Mon Sep 17 00:00:00 2001 From: "Amir E. Aharoni" Date: Wed, 18 Feb 2015 02:33:20 +0200 Subject: [PATCH] Explicitly allow lines up to 100 chars in Rubocop According to https://www.mediawiki.org/wiki/Manual:Coding_conventions/Ruby Change-Id: If938720d48a8f5a17263a886bb94cd900b929b05 --- .rubocop.yml | 3 +++ .rubocop_todo.yml | 5 ----- 2 files changed, 3 insertions(+), 5 deletions(-) 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 -- 2.20.1