Commit 22a3bde5 authored by Peter Leitzen's avatar Peter Leitzen

Merge branch 'remove-magic-comments' into 'master'

Remove magic comments from Ruby files

See merge request gitlab-org/gitlab!16782
parents 5b8c2c5d 77b7aab0
...@@ -565,11 +565,6 @@ Style/EmptyLiteral: ...@@ -565,11 +565,6 @@ Style/EmptyLiteral:
Style/EmptyMethod: Style/EmptyMethod:
Enabled: false Enabled: false
# Offense count: 40
# Cop supports --auto-correct.
Style/Encoding:
Enabled: false
# Offense count: 203 # Offense count: 203
# Cop supports --auto-correct. # Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle. # Configuration parameters: EnforcedStyle.
......
# coding: utf-8
# frozen_string_literal: true # frozen_string_literal: true
module PageLayoutHelper module PageLayoutHelper
......
# coding: utf-8
# frozen_string_literal: true # frozen_string_literal: true
class Commit class Commit
......
# coding: utf-8
# frozen_string_literal: true # frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
......
# coding: utf-8
# frozen_string_literal: true # frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
......
# coding: utf-8
require 'spec_helper' require 'spec_helper'
describe Gitlab::Elastic::SearchResults, :elastic do describe Gitlab::Elastic::SearchResults, :elastic do
......
# coding: utf-8
require 'spec_helper' require 'spec_helper'
describe Gitlab::Regex do describe Gitlab::Regex do
......
# -*- coding: utf-8 -*-
require 'spec_helper' require 'spec_helper'
describe API::ProjectMirror do describe API::ProjectMirror do
......
# coding: utf-8
require 'spec_helper' require 'spec_helper'
describe PostReceive do describe PostReceive do
......
# coding: utf-8
# frozen_string_literal: true # frozen_string_literal: true
module API module API
......
# -*- ruby encoding: utf-8 -*-
# frozen_string_literal: true # frozen_string_literal: true
# Based on the `ruby-net-ldap` gem's `Net::LDAP::DN` # Based on the `ruby-net-ldap` gem's `Net::LDAP::DN`
......
# coding: utf-8
# frozen_string_literal: true # frozen_string_literal: true
# rubocop: disable Rails/Output # rubocop: disable Rails/Output
......
# coding: utf-8
# frozen_string_literal: true # frozen_string_literal: true
module Gitlab module Gitlab
......
# coding: utf-8
# frozen_string_literal: true # frozen_string_literal: true
module Gitlab module Gitlab
......
# coding: utf-8
# frozen_string_literal: true # frozen_string_literal: true
module Gitlab module Gitlab
......
# coding: utf-8
# frozen_string_literal: true # frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
......
# coding: utf-8
# frozen_string_literal: true # frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
......
# coding: utf-8
# frozen_string_literal: true # frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
......
# coding: utf-8
require 'spec_helper' require 'spec_helper'
describe ApplicationHelper do describe ApplicationHelper do
......
# coding: utf-8
require 'spec_helper' require 'spec_helper'
describe DeferScriptTagHelper do describe DeferScriptTagHelper do
......
# coding: utf-8
# frozen_string_literal: true # frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
......
# coding: utf-8
# frozen_string_literal: true # frozen_string_literal: true
require "spec_helper" require "spec_helper"
......
# coding: utf-8
require "spec_helper" require "spec_helper"
describe Gitlab::Git::Blame, :seed_helper do describe Gitlab::Git::Blame, :seed_helper do
......
# encoding: utf-8
require "spec_helper" require "spec_helper"
describe Gitlab::Git::Blob, :seed_helper do describe Gitlab::Git::Blob, :seed_helper do
......
# coding: utf-8
require 'spec_helper' require 'spec_helper'
describe Gitlab::Git::Conflict::File do describe Gitlab::Git::Conflict::File do
......
# coding: utf-8
require "spec_helper" require "spec_helper"
describe Gitlab::Git::Repository, :seed_helper do describe Gitlab::Git::Repository, :seed_helper do
......
# coding: utf-8
require 'spec_helper' require 'spec_helper'
describe Gitlab::Git do describe Gitlab::Git do
......
# coding: utf-8
require 'spec_helper' require 'spec_helper'
describe Gitlab::JsonLogger do describe Gitlab::JsonLogger do
......
# coding: utf-8
# frozen_string_literal: true # frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
......
# coding: utf-8
# frozen_string_literal: true # frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
......
# coding: utf-8
# frozen_string_literal: true # frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
......
# coding: utf-8
# frozen_string_literal: true # frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
......
# coding: utf-8
# frozen_string_literal: true # frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
......
# encoding: utf-8
# frozen_string_literal: true # frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
......
# -*- coding: utf-8 -*-
require 'spec_helper' require 'spec_helper'
shared_examples 'languages and percentages JSON response' do shared_examples 'languages and percentages JSON response' do
......
# coding: utf-8
# frozen_string_literal: true # frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
......
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