Skip to content

Commit eb2bc63

Browse files
author
James McCarthy
committed
Add .rubocop.yml.
1 parent 9fa9515 commit eb2bc63

File tree

2 files changed

+17
-45
lines changed

2 files changed

+17
-45
lines changed

.rubocop.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,23 @@
11
AllCops:
2+
TargetRubyVersion: 2.1
3+
Include:
4+
- Dangerfile
5+
26
Exclude:
37
- vendor/**/*
8+
- bin/**/*
49
- Guardfile
510

611
inherit_from: .rubocop_todo.yml
12+
13+
Style/Documentation:
14+
Enabled: false
15+
16+
Style/MultilineIfModifier:
17+
Enabled: false
18+
19+
Style/RaiseArgs:
20+
Enabled: false
21+
22+
Lint/UnneededDisable:
23+
Enabled: false

.rubocop_todo.yml

Lines changed: 0 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +0,0 @@
1-
# This configuration was generated by
2-
# `rubocop --auto-gen-config`
3-
# on 2016-11-20 10:04:42 -0500 using RuboCop version 0.45.0.
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: 6
10-
Metrics/AbcSize:
11-
Max: 32
12-
13-
# Offense count: 2
14-
# Configuration parameters: CountComments.
15-
Metrics/ClassLength:
16-
Max: 208
17-
18-
# Offense count: 3
19-
Metrics/CyclomaticComplexity:
20-
Max: 11
21-
22-
# Offense count: 237
23-
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives.
24-
# URISchemes: http, https
25-
Metrics/LineLength:
26-
Max: 146
27-
28-
# Offense count: 6
29-
# Configuration parameters: CountComments.
30-
Metrics/MethodLength:
31-
Max: 28
32-
33-
# Offense count: 2
34-
Metrics/PerceivedComplexity:
35-
Max: 13
36-
37-
# Offense count: 33
38-
Style/Documentation:
39-
Enabled: false
40-
41-
# Offense count: 1
42-
# Configuration parameters: ExpectMatchingDefinition, Regex, IgnoreExecutableScripts.
43-
Style/FileName:
44-
Exclude:
45-
- 'lib/grape-entity.rb'

0 commit comments

Comments
 (0)