forked from helpyio/helpy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
44 lines (35 loc) · 798 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
AllCops:
Exclude:
- db/**/*
- lib/**/*
- tmp/**/*
- vendor/**/*
TargetRubyVersion: 2.3
DisabledByDefault: true
# Rails:
# Enabled: true
# TODO: Resolve the following RuboCop violations
# Offense count: 1
# Configuration parameters: Include.
# Include: app/models/**/*.rb
# Rails/HasAndBelongsToMany:
# Exclude:
# - 'app/models/user.rb'
# Offense count: 2
# Configuration parameters: Include.
# Include: app/**/*.rb, config/**/*.rb, db/**/*.rb, lib/**/*.rb
# Rails/Output:
# Exclude:
# - 'config/unicorn.rb'
# Offense count: 1
# Configuration parameters: AllowSafeAssignment.
Lint/AssignmentInCondition:
Exclude:
- 'bin/spring'
# Offense count: 2
Lint/SuppressedException:
Exclude:
- 'bin/rails'
- 'bin/rake'
Style/AndOr:
Enabled: true