Skip to content

Commit ca04e03

Browse files
committed
Tighten RuboCop targets
Explicitly include Ruby sources/Gemfile/Rakefile, silence extension auto-suggestions, and exclude tmp artifacts for cleaner lint scope.
1 parent 2d66fef commit ca04e03

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.rubocop.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,16 @@ plugins:
99

1010
AllCops:
1111
NewCops: enable
12+
SuggestExtensions: false
1213
TargetRubyVersion: 3.1
14+
Include:
15+
- 'Gemfile'
16+
- 'Rakefile'
17+
- '**/*.rb'
1318
Exclude:
1419
- 'pkg/**/*'
1520
- 'vendor/**/*'
21+
- 'tmp/**/*'
1622

1723
Lint/UselessAssignment:
1824
Exclude:

0 commit comments

Comments
 (0)