forked from cyclestreets/cyclescape
/
.rubocop.yml
48 lines (36 loc) · 679 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
require:
- rubocop-rails
- rubocop-rspec
AllCops:
Exclude:
- db/schema.rb
- vendor/**/*
- db/**/*
Encoding:
Enabled: false
Rails:
Enabled: true
Rails/HttpPositionalArguments:
Enabled: true
Exclude:
- spec/api/**/*
Rails/DynamicFindBy:
Whitelist:
- find_by_tag
- find_by_name
- find_by_tags_from
Metrics/LineLength:
Max: 140
Metrics/AbcSize:
Enabled: false
Metrics/MethodLength:
Enabled: false
Metrics/ClassLength:
Enabled: false
Style/Documentation:
Description: Document classes and non-namespace modules.
Enabled: false
Style/StringLiterals:
EnforcedStyle: "double_quotes"
Metrics/BlockLength:
Enabled: false