Commit eb8e562c authored by yhgupta's avatar yhgupta Committed by Peter Leitzen

Fixed remaining cop offenses for Naming/FileName

parent 7d567806
......@@ -130,6 +130,7 @@ Naming/FileName:
- 'qa/spec/**/*'
- 'qa/qa/specs/**/*'
- 'qa/tasks/**/*.rake'
- '**/*.ru'
IgnoreExecutableScripts: true
AllowedAcronyms:
......@@ -151,6 +152,23 @@ Naming/FileName:
- CI
- CD
- OAuth
- CSP
- CSV
- SCA
- SAN
- CIDR
- SPDX
- MR
- SSE
- JWT
- HLL
- VSCode
- GPG
- OTP
- GID
- AR
- RSpec
- Javascript
# default ones:
- CLI
- DSL
......
# rubocop:disable Naming/FileName
# frozen_string_literal: true
cal = Icalendar::Calendar.new
......@@ -17,3 +18,5 @@ end
# rubocop: enable CodeReuse/ActiveRecord
cal.to_ical
# rubocop:enable Naming/FileName
......@@ -5,7 +5,7 @@ require 'rails'
require 'png_quantizator'
require 'parallel'
require 'rainbow/ext/string'
require_relative '../tooling/lib/tooling/images'
require_relative '../tooling/lib/tooling/image'
return if Rails.env.production?
......
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module Dast
......@@ -13,3 +14,5 @@ module Dast
end
end
end
# rubocop:enable Naming/FileName
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module Elastic
......@@ -5,3 +6,5 @@ module Elastic
ApplicationClassProxy = Elastic::Latest::ApplicationClassProxy
end
end
# rubocop:enable Naming/FileName
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module Elastic
......@@ -5,3 +6,5 @@ module Elastic
ApplicationInstanceProxy = Elastic::Latest::ApplicationInstanceProxy
end
end
# rubocop:enable Naming/FileName
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module Elastic
......@@ -6,3 +7,5 @@ module Elastic
IssueConfig = Elastic::Latest::IssueConfig
end
end
# rubocop:enable Naming/FileName
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module Elastic
......@@ -5,3 +6,5 @@ module Elastic
IssueClassProxy = Elastic::Latest::IssueClassProxy
end
end
# rubocop:enable Naming/FileName
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module Elastic
......@@ -5,3 +6,5 @@ module Elastic
IssueInstanceProxy = Elastic::Latest::IssueInstanceProxy
end
end
# rubocop:enable Naming/FileName
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module Elastic
......@@ -5,3 +6,5 @@ module Elastic
MergeRequestClassProxy = Elastic::Latest::MergeRequestClassProxy
end
end
# rubocop:enable Naming/FileName
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module Elastic
......@@ -5,3 +6,5 @@ module Elastic
MergeRequestInstanceProxy = Elastic::Latest::MergeRequestInstanceProxy
end
end
# rubocop:enable Naming/FileName
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module Elastic
......@@ -5,3 +6,5 @@ module Elastic
MilestoneClassProxy = Elastic::Latest::MilestoneClassProxy
end
end
# rubocop:enable Naming/FileName
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module Elastic
......@@ -5,3 +6,5 @@ module Elastic
MilestoneInstanceProxy = Elastic::Latest::MilestoneInstanceProxy
end
end
# rubocop:enable Naming/FileName
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module Elastic
......@@ -5,3 +6,5 @@ module Elastic
NoteClassProxy = Elastic::Latest::NoteClassProxy
end
end
# rubocop:enable Naming/FileName
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module Elastic
......@@ -5,3 +6,5 @@ module Elastic
NoteInstanceProxy = Elastic::Latest::NoteInstanceProxy
end
end
# rubocop:enable Naming/FileName
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module Elastic
......@@ -5,3 +6,5 @@ module Elastic
ProjectClassProxy = Elastic::Latest::ProjectClassProxy
end
end
# rubocop:enable Naming/FileName
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module Elastic
......@@ -5,3 +6,5 @@ module Elastic
ProjectInstanceProxy = Elastic::Latest::ProjectInstanceProxy
end
end
# rubocop:enable Naming/FileName
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module Elastic
......@@ -5,3 +6,5 @@ module Elastic
ProjectWikiClassProxy = Elastic::Latest::ProjectWikiClassProxy
end
end
# rubocop:enable Naming/FileName
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module Elastic
......@@ -5,3 +6,5 @@ module Elastic
ProjectWikiInstanceProxy = Elastic::Latest::ProjectWikiInstanceProxy
end
end
# rubocop:enable Naming/FileName
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module Elastic
......@@ -5,3 +6,5 @@ module Elastic
RepositoryClassProxy = Elastic::Latest::RepositoryClassProxy
end
end
# rubocop:enable Naming/FileName
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module Elastic
......@@ -5,3 +6,5 @@ module Elastic
RepositoryInstanceProxy = Elastic::Latest::RepositoryInstanceProxy
end
end
# rubocop:enable Naming/FileName
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module Elastic
......@@ -5,3 +6,5 @@ module Elastic
Routing = Elastic::Latest::Routing
end
end
# rubocop:enable Naming/FileName
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module Elastic
......@@ -5,3 +6,5 @@ module Elastic
SnippetClassProxy = Elastic::Latest::SnippetClassProxy
end
end
# rubocop:enable Naming/FileName
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module Elastic
......@@ -5,3 +6,5 @@ module Elastic
SnippetInstanceProxy = Elastic::Latest::SnippetInstanceProxy
end
end
# rubocop:enable Naming/FileName
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module Gitlab
......@@ -25,3 +26,5 @@ module Gitlab
end
end
end
# rubocop:enable Naming/FileName
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module Gitlab
......@@ -8,3 +9,5 @@ module Gitlab
end
end
end
# rubocop:enable Naming/FileName
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module Gitlab
......@@ -144,3 +145,5 @@ module Gitlab
end
end
end
# rubocop:enable Naming/FileName
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module Gitlab
......@@ -14,3 +15,5 @@ module Gitlab
end
end
end
# rubocop:enable Naming/FileName
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module Gitlab
......@@ -5,3 +6,5 @@ module Gitlab
Metric = Struct.new(:name, :value, :labels)
end
end
# rubocop:enable Naming/FileName
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module Gitlab
......@@ -12,3 +13,5 @@ module Gitlab
end
end
end
# rubocop:enable Naming/FileName
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module Gitlab
......@@ -13,3 +14,5 @@ module Gitlab
end
end
end
# rubocop:enable Naming/FileName
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module Gitlab
......@@ -14,3 +15,5 @@ module Gitlab
end
end
end
# rubocop:enable Naming/FileName
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module Gitlab
......@@ -51,3 +52,5 @@ module Gitlab
end
end
end
# rubocop:enable Naming/FileName
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module Gitlab
......@@ -5,3 +6,5 @@ module Gitlab
Result = Struct.new(:type, :message)
end
end
# rubocop:enable Naming/FileName
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module Gitlab
......@@ -155,3 +156,5 @@ module Gitlab
end
end
end
# rubocop:enable Naming/FileName
# rubocop:disable Naming/FileName
# frozen_string_literal: true
# Auto-require all cops under `rubocop/cop/**/*.rb`
Dir[File.join(__dir__, 'cop', '**', '*.rb')].sort.each(&method(:require))
# rubocop:enable Naming/FileName
......@@ -5,7 +5,7 @@
require 'png_quantizator'
require 'open3'
require 'parallel'
require_relative '../tooling/lib/tooling/images'
require_relative '../tooling/lib/tooling/image'
generator = ARGV[0]
milestone = ARGV[1]
......
# frozen_string_literal: true
require 'fast_spec_helper'
require_relative '../../../../rubocop/cop/gitlab/change_timzone'
require_relative '../../../../rubocop/cop/gitlab/change_timezone'
RSpec.describe RuboCop::Cop::Gitlab::ChangeTimezone do
subject(:cop) { described_class.new }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment