1
0
mirror of https://github.com/github/choosealicense.com synced 2024-06-09 04:37:48 +02: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:
TargetRubyVersion: 2.1
TargetRubyVersion: 2.3
Exclude:
- _site/**/*
- vendor/**/*
Metrics/BlockLength:
Enabled: false
Metrics/LineLength:
Enabled: false