1
0
mirror of https://github.com/github/choosealicense.com synced 2024-12-22 21:00:10 +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:
Mike Linksvayer 2017-01-17 13:37:52 -08:00 committed by GitHub
parent db878ed8f9
commit 1a728bdd26

View File

@ -1,9 +1,12 @@
AllCops: AllCops:
TargetRubyVersion: 2.1 TargetRubyVersion: 2.3
Exclude: Exclude:
- _site/**/* - _site/**/*
- vendor/**/* - vendor/**/*
Metrics/BlockLength:
Enabled: false
Metrics/LineLength: Metrics/LineLength:
Enabled: false Enabled: false