From 2cc78fd8f8f3d5720b8649c9c66c74c1cad8a6cb Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C5=BDeljko=20Filipin?= Date: Wed, 18 Mar 2015 18:45:54 +0100 Subject: [PATCH] Fixed Style/FileName RuboCop offense $ bundle exec rubocop Inspecting 25 files .C....................... Offenses: maintenance/jsduck/CustomTags.rb:1:1: C: Use snake_case for source file names. ^ 25 files inspected, 1 offense detected Bug: T91485 Change-Id: I91b43362f265a05284495727dab5465e1c4f0542 --- .rubocop_todo.yml | 5 ----- jsduck.json | 2 +- maintenance/jsduck/{CustomTags.rb => custom_tags.rb} | 0 3 files changed, 1 insertion(+), 6 deletions(-) rename maintenance/jsduck/{CustomTags.rb => custom_tags.rb} (100%) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 58cee0c18f..da1c3af036 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -10,11 +10,6 @@ Lint/UnusedMethodArgument: Enabled: false -# Offense count: 1 -# Configuration parameters: Exclude. -Style/FileName: - Enabled: false - # Offense count: 8 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. diff --git a/jsduck.json b/jsduck.json index 67ab986f82..53c69133fe 100644 --- a/jsduck.json +++ b/jsduck.json @@ -2,7 +2,7 @@ "--title": "MediaWiki core - Documentation", "--categories": "maintenance/jsduck/categories.json", "--eg-iframe": "maintenance/jsduck/eg-iframe.html", - "--tags": "maintenance/jsduck/CustomTags.rb", + "--tags": "maintenance/jsduck/custom_tags.rb", "--warnings": ["-nodoc(class,public)"], "--builtin-classes": true, "--processes": "0", diff --git a/maintenance/jsduck/CustomTags.rb b/maintenance/jsduck/custom_tags.rb similarity index 100% rename from maintenance/jsduck/CustomTags.rb rename to maintenance/jsduck/custom_tags.rb -- 2.20.1