-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop.yml
46 lines (39 loc) · 1.28 KB
/
.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
AllCops:
Exclude:
- 'db/**/*'
- 'config/**/*'
- 'tmp/**/*'
- 'spec/vcr_cassettes/**/*'
- 'spec/support/**/*'
- 'spec/rails_helper.rb'
- 'spec/spec_helper.rb'
- 'Gemfile'
- 'Rakefile'
- 'public/**/*'
- 'log/**/*'
- '**/*.scss'
Style/StringLiterals:
Description: Checks if uses of quotes match the configured preference.
Enabled: false
Lint/UnderscorePrefixedVariableName:
Description: 'Do not use prefix `_` for a variable that is used.'
Enabled: false
Metrics/MethodLength:
Description: 'Avoid methods longer than 10 lines of code.'
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#short-methods'
Enabled: false
Style/AccessorMethodName:
Description: Check the naming of accessor methods for get_/set_.
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#accessor_mutator_method_names'
Enabled: false
Style/FrozenStringLiteralComment:
Description: >-
Add the frozen_string_literal comment to the top of files
to help transition from Ruby 2.3.0 to Ruby 3.0.
Enabled: false
Style/Documentation:
Description: 'Document classes and non-namespace modules.'
Enabled: false
Style/ClassAndModuleChildren:
Description: 'Checks style of children classes and modules.'
Enabled: false