Skip to content

Commit 3c5f088

Browse files
committed
Ignore build artifacts in RuboCop and Sorbet
Exclude tmp/ and target/ from static analysis to avoid scanning vendored/compiled build outputs.
1 parent b2070b8 commit 3c5f088

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

.rubocop.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ AllCops:
1212
NewCops: enable
1313
Exclude:
1414
- vendor/bundle/**/**
15+
- tmp/**/**
16+
- target/**/**
1517
TargetRubyVersion: 3.2
1618

1719
Metrics/ParameterLists:

sorbet/config

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
--dir=.
22
--ignore=/spec
3+
--ignore=/tmp
4+
--ignore=/target
35
--ignore=/vendor/bundle

0 commit comments

Comments
 (0)