1
---
2
# The behavior of RuboCop can be controlled via the .rubocop.yml
3
# configuration file. It makes it possible to enable/disable
4
# certain cops (checks) and to alter their behavior if they accept
5
# any parameters. The file can be placed either in your home
6
# directory or in some project directory.
7
#
8
# RuboCop will start looking for the configuration file in the directory
9
# where the inspected file is and continue its way up to the root directory.
10
#
11
# See https://docs.rubocop.org/rubocop/configuration
12
AllCops:
13
TargetRubyVersion: 3.1
14
Bundler:
15
Enabled: false
16
Gemspec:
17
Enabled: false
18
Layout:
19
Enabled: false
20
Layout/EmptyLineAfterMagicComment:
21
Enabled: true
22
Severity: info
23
Layout/SpaceAfterColon:
24
Enabled: true
25
Severity: info
26
Layout/SpaceBeforeComma:
27
Enabled: true
28
Severity: info
29
Layout/SpaceInsideParens:
30
Enabled: true
31
EnforcedStyle: no_space
32
Severity: info
33
Lint:
34
Enabled: false
35
Metrics:
36
Enabled: false
37
Naming:
38
Enabled: false
39
Performance:
40
Enabled: false
41
RSpec:
42
Enabled: false
43
Rails:
44
Enabled: false
45
Security:
46
Enabled: false
47
Style:
48
Enabled: false
49
Style/FrozenStringLiteralComment:
50
AutoCorrect: true
51
Enabled: true
52
EnforcedStyle: always
53
SafeAutoCorrect: true
54
Severity: info
55
Style/HashSyntax:
56
Enabled: true
57
EnforcedShorthandSyntax: always
58
EnforcedStyle: ruby19
59
Severity: info
60
Style/StringLiterals:
61
AutoCorrect: false
62
Enabled: true
63
EnforcedStyle: double_quotes
64
Severity: info
65
require:
66
- rubocop-performance
67
- rubocop-rails
68
- rubocop-rspec
69