Skip to content

Commit

Permalink
Exclude spec and test directories entirely
Browse files Browse the repository at this point in the history
  • Loading branch information
natematykiewicz committed Oct 7, 2024
1 parent c16b362 commit 249167b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/ruby_indexer/lib/ruby_indexer/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@ def initialize

@excluded_patterns = T.let(
[
File.join("**", "*_test.rb"),
File.join("tmp", "**", "*"),
File.join("node_modules", "**", "*"),
File.join("spec", "**", "*"),
File.join("test", "**", "*"),
File.join("tmp", "**", "*"),
],
T::Array[String],
)
Expand Down

0 comments on commit 249167b

Please sign in to comment.