forked from chaskiq/chaskiq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
46 lines (39 loc) · 895 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
37
38
39
40
41
42
43
inherit_from: .rubocop_todo.yml
require:
- rubocop-rails
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: double_quotes
SupportedStyles:
- single_quotes
- double_quotes
Rails/EnvironmentVariableAccess:
AllowReads: true
Lint/EmptyBlock:
Exclude:
- 'spec/**/*'
Metrics/BlockLength:
Exclude:
- 'spec/**/*'
Style/AsciiComments:
Enabled: false
Lint/MissingSuper:
Enabled: false
Rails/SkipsModelValidations:
Enabled: false
Metrics/ModuleLength:
Exclude:
- app/services/message_apis/helpers.rb
Rails/InverseOf:
Enabled: false
AllCops:
NewCops: enable
Exclude:
- 'node_modules/**/*'
- 'db/**/*'
- 'config/**/*'
- 'script/**/*'
- 'bin/{rails,rake}'
- 'spec/cypress/**/*'