forked from vinistock/sail
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
43 lines (42 loc) · 817 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
require:
- rubocop-packaging
- rubocop-performance
- rubocop-rails
AllCops:
NewCops: enable
Exclude:
- spec/dummy/**/*
- coverage/**/*
- lib/generators/sail/**/templates/**/*
- vendor/bundle/**/*
Rails:
Enabled: true
Rails/HttpPositionalArguments:
Exclude:
- spec/controllers/**/*
Layout/LineLength:
Max: 140
Metrics/MethodLength:
Max: 20
Metrics/BlockLength:
Max: 30
Exclude:
- spec/**/*
Metrics/ClassLength:
Max: 175
Style/GuardClause:
Enabled: false
Style/StringLiterals:
EnforcedStyle: double_quotes
Style/RedundantBegin:
Enabled: false
Style/StringLiteralsInInterpolation:
Enabled: false
Gemspec/RequiredRubyVersion:
Enabled: false
Style/OptionalBooleanParameter:
Enabled: false
Naming/VariableNumber:
Enabled: false
Style/RedundantFreeze:
Enabled: false