Skip to content

Commit 887443d

Browse files
author
James McCarthy
committed
Initial Rubocop config.
1 parent 069b6a2 commit 887443d

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

.rubocop.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
inherit_from: .rubocop_todo.yml
2+
Metrics/LineLength:
3+
Exclude:
4+
- 'test/**/*'
5+
Max: 132
6+
Style/ConditionalAssignment:
7+
Enabled: false

.rubocop_todo.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# This configuration was generated by
2+
# `rubocop --auto-gen-config`
3+
# on 2017-02-12 18:38:59 +0700 using RuboCop version 0.47.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: 6
10+
# Configuration parameters: CountComments, ExcludedMethods.
11+
Metrics/BlockLength:
12+
Max: 124
13+
14+
# Offense count: 1
15+
# Configuration parameters: EnforcedStyle, SupportedStyles.
16+
# SupportedStyles: nested, compact
17+
Style/ClassAndModuleChildren:
18+
Exclude:
19+
- 'test/test_helper.rb'
20+
21+
# Offense count: 4
22+
Style/Documentation:
23+
Exclude:
24+
- 'spec/**/*'
25+
- 'test/**/*'
26+
- 'lib/seedbank.rb'
27+
- 'lib/seedbank/dsl.rb'
28+
- 'lib/seedbank/railtie.rb'
29+
- 'lib/seedbank/runner.rb'

0 commit comments

Comments
 (0)