Skip to content

Commit

Permalink
disable Style/SpecialGlobalVars
Browse files Browse the repository at this point in the history
  • Loading branch information
elfassy committed Oct 8, 2024
1 parent 86e9816 commit 4fdbe0d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 5 additions & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ inherit_gem:
AllCops:
Exclude:
- 'spec/**/*'
SuggestExtensions: false

Style/MethodCallWithoutArgsParentheses:
Enabled: false
Expand All @@ -17,7 +18,7 @@ Style/StringLiterals:
Layout/EmptyLineAfterGuardClause:
Enabled: false

Metrics/LineLength:
Layout/LineLength:
Max: 120
AllowedPatterns:
- '^\s*#'
Expand All @@ -30,3 +31,6 @@ Style/ClassMethodsDefinitions:

Naming/FileName:
Enabled: false

Style/SpecialGlobalVars:
Enabled: false
4 changes: 1 addition & 3 deletions money.gemspec
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# -*- encoding: utf-8 -*-
# frozen_string_literal: true

require 'English'

require_relative "lib/money/version"

Gem::Specification.new do |s|
Expand All @@ -27,7 +25,7 @@ Gem::Specification.new do |s|

s.required_ruby_version = '>= 3.0'

s.files = %x(git ls-files).split($INPUT_RECORD_SEPARATOR)
s.files = %x(git ls-files).split($/)
s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
s.require_paths = ["lib"]
end

0 comments on commit 4fdbe0d

Please sign in to comment.