Skip to content

Commit

Permalink
Configure RuboCop and tests to pick up the indexer
Browse files Browse the repository at this point in the history
  • Loading branch information
vinistock committed Aug 9, 2023
1 parent 6483465 commit 5b01de6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ Sorbet/TrueSigil:
Enabled: true
Include:
- "test/**/*.rb"
- "lib/ruby_indexer/test/**/*.rb"
Exclude:
- "**/*.rake"
- "lib/**/*.rb"
Expand All @@ -43,6 +44,7 @@ Sorbet/StrictSigil:
Exclude:
- "**/*.rake"
- "test/**/*.rb"
- "lib/ruby_indexer/test/**/*.rb"
- "lib/ruby-lsp.rb"

Style/StderrPuts:
Expand Down
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ require "ruby_lsp/check_docs"
Rake::TestTask.new(:test) do |t|
t.libs << "test"
t.libs << "lib"
t.test_files = FileList["test/**/*_test.rb"]
t.test_files = FileList["test/**/*_test.rb", "lib/ruby_indexer/test/**/*_test.rb"]
end

RDoc::Task.new do |rdoc|
Expand Down

0 comments on commit 5b01de6

Please sign in to comment.