Skip to content

Commit 15339f2

Browse files
author
James McCarthy
committed
Autogenerate .rubocop_todo.yml.
1 parent d2d6ba2 commit 15339f2

File tree

2 files changed

+52
-0
lines changed

2 files changed

+52
-0
lines changed

.rubocop.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,13 @@ AllCops:
1010

1111
inherit_from: .rubocop_todo.yml
1212

13+
Style/FileName:
14+
Exclude:
15+
- 'Gemfile'
16+
- 'Rakefile'
17+
- 'grape-entity.gemspec'
18+
- 'lib/grape-entity.rb'
19+
1320
Style/Documentation:
1421
Enabled: false
1522

.rubocop_todo.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# This configuration was generated by
2+
# `rubocop --auto-gen-config`
3+
# on 2017-04-05 10:30:29 +0700 using RuboCop version 0.48.1.
4+
# The point is for the user to remove these configuration records
5+
# one by one as the offenses are removed from the code base.
6+
# Note that changes in the inspected code, or installation of new
7+
# versions of RuboCop, may require this file to be generated again.
8+
9+
# Offense count: 1
10+
Lint/AmbiguousBlockAssociation:
11+
Exclude:
12+
- 'spec/grape_entity/exposure/represent_exposure_spec.rb'
13+
14+
# Offense count: 6
15+
Metrics/AbcSize:
16+
Max: 32
17+
18+
# Offense count: 35
19+
# Configuration parameters: CountComments, ExcludedMethods.
20+
Metrics/BlockLength:
21+
Max: 1499
22+
23+
# Offense count: 2
24+
# Configuration parameters: CountComments.
25+
Metrics/ClassLength:
26+
Max: 208
27+
28+
# Offense count: 3
29+
Metrics/CyclomaticComplexity:
30+
Max: 11
31+
32+
# Offense count: 238
33+
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
34+
# URISchemes: http, https
35+
Metrics/LineLength:
36+
Max: 146
37+
38+
# Offense count: 7
39+
# Configuration parameters: CountComments.
40+
Metrics/MethodLength:
41+
Max: 28
42+
43+
# Offense count: 2
44+
Metrics/PerceivedComplexity:
45+
Max: 13

0 commit comments

Comments
 (0)