mirror of
https://github.com/github/choosealicense.com
synced 2024-11-05 19:28:50 +01:00
disable rubocop check new in 0.47
Avoid: ``` spec/license_spec.rb:3:1: C: Metrics/BlockLength: Block has too many lines. [40/25] describe 'licenses' do ... ^^^^^^^^^^^^^^^^^^^^^^ spec/license_spec.rb:8:3: C: Metrics/BlockLength: Block has too many lines. [35/25] licenses.each do |license| ... ^^^^^^^^^^^^^^^^^^^^^^^^^^ spec/license_spec.rb:9:5: C: Metrics/BlockLength: Block has too many lines. [33/25] context "The #{license['title']} license" do ... ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ``` Doesn't seem worth refactoring, but happy to be wrong.
This commit is contained in:
parent
db878ed8f9
commit
1a728bdd26
@ -1,9 +1,12 @@
|
||||
AllCops:
|
||||
TargetRubyVersion: 2.1
|
||||
TargetRubyVersion: 2.3
|
||||
Exclude:
|
||||
- _site/**/*
|
||||
- vendor/**/*
|
||||
|
||||
Metrics/BlockLength:
|
||||
Enabled: false
|
||||
|
||||
Metrics/LineLength:
|
||||
Enabled: false
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user