forked from sljohnson32/dsw-site
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop.yml
31 lines (31 loc) · 864 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
inherit_from:
- https://raw.githubusercontent.com/testdouble/standard/master/config/base.yml
- https://raw.githubusercontent.com/testdouble/standard/master/config/ruby-2.5.yml
Style/ClassAndModuleChildren:
Include:
- lib/**/*.rb
Metrics/LineLength:
# Default is that lines should be 80, but that's somewhat noisy. We want a softer limit.
Description: Limit lines to 120 characters.
Max: 120
Exclude:
- config/routes.rb
Lint/UselessAccessModifier:
Enabled: false
Layout/AlignParameters:
Enabled: true
EnforcedStyle: with_fixed_indentation
Style/CollectionMethods:
PreferredMethods:
find: 'detect'
Style/FrozenStringLiteralComment:
Enabled: false
Layout/IndentHash:
Enabled: false
Metrics/BlockLength:
Exclude:
- Rakefile
- 'lib/tasks/**/*.rake'
- 'spec/**/*.rb'
- 'app/admin/**/*.rb'
- 'config/routes.rb'