Skip to content

Commit 8e70c5d

Browse files
committed
start using RuboCop
1 parent cb79f78 commit 8e70c5d

File tree

2 files changed

+1258
-0
lines changed

2 files changed

+1258
-0
lines changed

.rubocop.yml

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
inherit_from: .rubocop_todo.yml
2+
3+
require:
4+
- rubocop-performance
5+
6+
AllCops:
7+
TargetRubyVersion: 2.3
8+
Exclude:
9+
- 'test/scanners/**/*'
10+
- 'bench/example.ruby'
11+
- 'old-stuff/**/*'
12+
- 'test/lib/**/*'
13+
14+
Gemspec/RequiredRubyVersion:
15+
Enabled: false
16+
17+
Gemspec/DuplicatedAssignment:
18+
Enabled: false
19+
20+
Layout/AccessModifierIndentation:
21+
Enabled: false
22+
23+
Layout/AlignArguments:
24+
Enabled: false
25+
26+
Layout/AlignArray:
27+
Enabled: false
28+
29+
Layout/AlignHash:
30+
Enabled: false
31+
32+
Layout/SpaceInsideBlockBraces:
33+
EnforcedStyle: space
34+
EnforcedStyleForEmptyBraces: space

0 commit comments

Comments
 (0)