-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
41 lines (37 loc) · 1.15 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
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2022-02-01 23:08:09 UTC using RuboCop version 1.22.1.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.
AllCops:
NewCops: enable
Exclude:
- 'bin/rails'
- 'bin/rake'
- 'bin/setup'
- 'bin/update'
- 'bin/yarn'
- 'config.ru'
- 'config/application.rb'
- 'config/boot.rb'
- 'config/environment.rb'
- 'config/environments/development.rb'
- 'config/environments/production.rb'
- 'config/environments/test.rb'
- 'config/initializers/backtrace_silencers.rb'
- 'config/puma.rb'
- 'db/schema.rb'
Metrics/BlockLength:
Exclude:
- 'spec/**/*'
# Allow undocument top-level (non-namespace) classes and modules
Style/Documentation:
Enabled: false
# Offense count: 45
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: always, always_true, never
Style/FrozenStringLiteralComment:
Enabled: false