forked from Shopify/ruby-lsp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
56 lines (48 loc) · 1.09 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
inherit_gem:
rubocop-shopify: rubocop.yml
require:
- rubocop-sorbet
- rubocop-minitest
- rubocop-rake
- ./lib/rubocop/cop/ruby_lsp/use_language_server_aliases
- ./lib/rubocop/cop/ruby_lsp/use_register_with_handler_method
AllCops:
NewCops: disable
SuggestExtensions: false
TargetRubyVersion: 3.0
Include:
- "sorbet/rbi/shims/**/*.rbi"
Exclude:
- "vendor/**/*"
- "features/**/*"
- "test/fixtures/**/*"
- "test/expectations/**/*"
Minitest/AssertPredicate:
Enabled: true
Naming/FileName:
Exclude:
- "lib/ruby-lsp.rb"
RubyLsp/UseLanguageServerAliases:
Exclude:
- "test/**/*.rb"
Sorbet/FalseSigil:
Enabled: false
Sorbet/TrueSigil:
Enabled: true
Include:
- "test/**/*.rb"
- "lib/ruby_indexer/test/**/*.rb"
- "lib/ruby_indexer/lib/ruby_indexer/prefix_tree.rb"
Exclude:
- "**/*.rake"
- "lib/**/*.rb"
Sorbet/StrictSigil:
Enabled: true
Include:
- "lib/**/*.rb"
Exclude:
- "**/*.rake"
- "test/**/*.rb"
- "lib/ruby_indexer/test/**/*.rb"
- "lib/ruby-lsp.rb"
- "lib/ruby_indexer/lib/ruby_indexer/prefix_tree.rb"