forked from evilmartians/chronicles-gql-martian-library
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
43 lines (36 loc) · 793 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
AllCops:
Exclude:
- 'vendor/**/*'
- 'spec/fixtures/**/*'
- 'bin/**/*'
- 'lib/tasks/**/*'
- 'config/**/*'
- 'db/schema.rb'
- '*.spec'
- 'node_modules/**/*'
Metrics/LineLength:
Max: 120
Metrics/AbcSize:
Max: 20
Metrics/MethodLength:
Max: 15
Exclude:
- 'db/**/*.rb'
Metrics/BlockLength:
Exclude:
- 'lib/tasks/*.rake'
- 'spec/**/*_spec.rb'
- 'config/routes.rb'
- 'spec/rails_helper.rb'
- 'spec/spec_helper.rb'
- 'app/models/concerns/*.rb'
# We allow methods like 'is_something' instead of 'something?' in serializers
Naming/PredicateName:
Exclude:
- 'app/serializers/**/*.rb'
Style/StringLiterals:
EnforcedStyle: double_quotes
Documentation:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false