aboutsummaryrefslogtreecommitdiffstats
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorĊ½eljko Filipin <zeljko.filipin@gmail.com>2015-03-18 18:52:02 +0100
committerDan Duvall <dduvall@wikimedia.org>2015-03-23 11:11:13 -0700
commit97b06ddd7c815d38cda69b9770b7ae1021f7dc22 (patch)
treed4fc52c50b02ae97a1ae4d4d2685447fe163012c /.rubocop.yml
parent07e09658e2dce7441ef2504ae3c59a28ee4b0be6 (diff)
downloadmediawikicore-97b06ddd7c815d38cda69b9770b7ae1021f7dc22.tar.gz
mediawikicore-97b06ddd7c815d38cda69b9770b7ae1021f7dc22.zip
Fixed Style/PerlBackrefs RuboCop offense
Refactored to use `Regexp#match`, avoiding use of match globals entirely. Bug: T91485 Change-Id: I4b1a40e153c18d92ef9e78291bc4e14781cc6978
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml12
1 files changed, 5 insertions, 7 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index 3f1af395be14..8b0f91abfeec 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -1,13 +1,11 @@
inherit_from: .rubocop_todo.yml
AllCops:
- Exclude:
- - 'extensions/**/*'
- - 'skins/**/*'
- - 'tests/frontend/node_modules/**/*'
- - 'vendor/**/*'
-
-AllCops:
+ Exclude:
+ - 'extensions/**/*'
+ - 'skins/**/*'
+ - 'tests/frontend/node_modules/**/*'
+ - 'vendor/**/*'
StyleGuideCopsOnly: true
Metrics/LineLength: