-
-
Notifications
You must be signed in to change notification settings - Fork 111
Expand file tree
/
Copy path.rubocop.yml
More file actions
49 lines (45 loc) · 880 Bytes
/
.rubocop.yml
File metadata and controls
49 lines (45 loc) · 880 Bytes
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
47
48
49
require:
- standard
- rubocop-pundit
plugins:
- rubocop-performance
- rubocop-capybara
- rubocop-rails
- rubocop-rspec
- rubocop-rspec_rails
- rubocop-i18n
- rubocop-factory_bot
inherit_gem:
standard: config/base.yml
rswag-specs: .rubocop_rspec_alias_config.yml
AllCops:
TargetRubyVersion: 3.4
NewCops: enable
Exclude:
- db/schema.rb
- bin/bundle
- bin/yarn
- "node_modules/**/*"
- "tmp/**/*"
- "vendor/**/*"
- ".git/**/*"
I18n/GetText:
Enabled: false
I18n/RailsI18n:
Enabled: true
Exclude:
- "spec/**/*"
- "app/lib/cli/**/*"
Rails/Output:
Exclude:
- "app/lib/cli/**/*"
RSpec/NestedGroups:
Max: 5
RSpec/MultipleMemoizedHelpers:
Exclude:
- "spec/requests/api/**/*"
RSpec/NoExpectationExample:
Exclude:
- spec/system/documentation_screenshots_spec.rb
Style/ItAssignment:
Enabled: false