forked from ffaker/ffaker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop.yml
36 lines (36 loc) · 808 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
AllCops:
TargetRubyVersion: 2.5
NewCops: enable
Style/StringLiterals:
Description: Checks if uses of quotes match the configured preference.
StyleGuide: https://github.com/bbatsov/ruby-style-guide#consistent-string-literals
Enabled: true
EnforcedStyle: single_quotes
SupportedStyles:
- single_quotes
- double_quotes
Layout/LineLength:
Max: 120
AllowURI: true
URISchemes:
- http
- https
Style/Encoding:
Enabled: false
Style/ModuleFunction:
Enabled: false
Style/Documentation:
Enabled: false
Style/AsciiComments:
Enabled: true
Exclude:
- 'lib/ffaker/address_ja.rb'
- 'lib/ffaker/address_se.rb'
Style/OptionalBooleanParameter:
Enabled: false
Metrics/ModuleLength:
Enabled: true
Exclude:
- 'lib/ffaker/bank.rb'
Style/RedundantArgument:
Enabled: false