mirror of
https://github.com/varvet/pundit.git
synced 2022-11-09 12:30:11 -05:00
Rubocop: re-enable SpecialGlobalVars cop
This seems like a reasonable thing to fix: in my opinion the fewer exceptions to the default config, the better
This commit is contained in:
parent
f13c28d854
commit
19b2613e7a
2 changed files with 1 additions and 4 deletions
|
@ -90,8 +90,5 @@ Layout/DefEndAlignment:
|
|||
Lint/HandleExceptions:
|
||||
Enabled: false
|
||||
|
||||
Style/SpecialGlobalVars:
|
||||
Enabled: false
|
||||
|
||||
Style/DoubleNegation:
|
||||
Enabled: false
|
||||
|
|
|
@ -14,7 +14,7 @@ Gem::Specification.new do |gem|
|
|||
gem.homepage = "https://github.com/varvet/pundit"
|
||||
gem.license = "MIT"
|
||||
|
||||
gem.files = `git ls-files`.split($/)
|
||||
gem.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
|
||||
gem.executables = gem.files.grep(%r{^bin/}).map { |f| File.basename(f) }
|
||||
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
||||
gem.require_paths = ["lib"]
|
||||
|
|
Loading…
Reference in a new issue