-
Notifications
You must be signed in to change notification settings - Fork 171
/
.rubocop.yml
59 lines (51 loc) · 1.17 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
57
58
59
inherit_gem:
rubocop-shopify: rubocop.yml
require:
- rubocop-sorbet
- rubocop-md
- 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
Include:
- "sorbet/rbi/shims/**/*.rbi"
Exclude:
- "vendor/**/*"
- "vscode/**/*"
- "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"
- "lib/ruby_lsp/load_sorbet.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"
- "lib/ruby_lsp/load_sorbet.rb"