forked from CloudCannon/cloudcannon-jekyll
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
39 lines (32 loc) · 892 Bytes
/
.rubocop.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
require: rubocop-jekyll
inherit_gem:
rubocop-jekyll: .rubocop.yml
AllCops:
TargetRubyVersion: 2.4
Include:
- lib/**/*.rb
Exclude:
- .gitignore
- .rspec
- .rubocop.yml
- .travis.yml
- Gemfile.lock
- HISTORY.md
- LICENSE.txt
- README.md
- script/**/*
- vendor/**/*
- gemfiles/**/*
Naming/MemoizedInstanceVariableName:
Exclude:
- lib/cloudcannon-jekyll/page-without-a-file.rb
Metrics/CyclomaticComplexity:
Exclude:
- lib/cloudcannon-jekyll/jsonify-filter.rb # TODO remove this and fix warnings
- lib/cloudcannon-jekyll/readers/old-data-reader.rb # TODO remove this and fix warnings
Metrics/PerceivedComplexity:
Exclude:
- lib/cloudcannon-jekyll/jsonify-filter.rb # TODO remove this and fix warnings
Metrics/AbcSize:
Exclude:
- lib/cloudcannon-jekyll/jsonify-filter.rb # TODO remove this and fix warnings