-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
53 lines (53 loc) · 944 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
---
inherit_from: .rubocop_todo.yml
require:
- rubocop-rspec
- rubocop-i18n
AllCops:
DisplayCopNames: true
TargetRubyVersion: '2.1'
Include:
- "./**/*.rb"
Exclude:
- bin/*
- ".vendor/**/*"
- spec/fixtures/**/*
- vendor/**/*
Bundler/DuplicatedGem:
Enabled: false
GetText/DecorateString:
Enabled: false
GetText/DecorateFunctionMessage:
Enabled: false
Layout/IndentHeredoc:
Enabled: false
RSpec/DescribeSymbol:
Enabled: false
RSpec/DescribeClass:
Enabled: false
Layout/EndOfLine:
EnforcedStyle: lf
Metrics/LineLength:
Exclude:
- spec/spec_helper.rb
- spec/spec_helper_acceptance.rb
- Rakefile
- Gemfile
Metrics/BlockLength:
Exclude:
- spec/**/*_spec.rb
RSpec/ExampleLength:
Max: 8
Style/ClassAndModuleChildren:
Enabled: false
Security/Eval:
Exclude:
- 'Gemfile'
- 'Rakefile'
Security/JSONLoad:
Exclude:
- 'Rakefile'
Style/FileName:
Exclude:
- 'Gemfile'
- 'Rakefile'