-
Notifications
You must be signed in to change notification settings - Fork 40
Expand file tree
/
Copy path.rubocop.yml
More file actions
44 lines (36 loc) · 797 Bytes
/
.rubocop.yml
File metadata and controls
44 lines (36 loc) · 797 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
inherit_gem:
rubocop-shopify: rubocop.yml
plugins:
- rubocop-minitest
- rubocop-rake
- rubocop-sorbet
AllCops:
NewCops: disable
SuggestExtensions: false
Exclude:
- "test/dummy/db/**/*.rb"
Naming/FileName:
Exclude:
- "lib/ruby-lsp-rails.rb"
Sorbet/FalseSigil:
Enabled: false
Sorbet/TrueSigil:
Enabled: true
Include:
- "test/**/*.rb"
Exclude:
- "**/*.rake"
- "lib/**/*.rb"
- "test/dummy/**/*.rb"
Sorbet/StrictSigil:
Enabled: true
Include:
- "lib/**/*.rb"
Exclude:
- "**/*.rake"
- "test/**/*.rb"
- "lib/ruby_lsp/ruby_lsp_rails/server.rb" # we can't assume sorbet-runtime is available
Layout/LeadingCommentSpace:
AllowRBSInlineAnnotation: true
Layout/LineLength:
AllowedPatterns: ['\A\s*#:'] # for inline RBS signaturs