Skip to content

Commit

Permalink
Unify RuboCop usage (#1262)
Browse files Browse the repository at this point in the history
Co-authored-by: Andy Waite <[email protected]>
  • Loading branch information
andyw8 and andyw8 authored Dec 19, 2023
1 parent 7ecb1e3 commit fa55118
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,8 @@ jobs:
- name: Typecheck
run: bundle exec srb tc

- name: Lint Ruby files
- name: Lint Ruby files and RBI shims
run: bundle exec rubocop

- name: Lint RBI shims
run: bundle exec rubocop sorbet/rbi/shims
build:
strategy:
fail-fast: false
Expand Down
2 changes: 2 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ AllCops:
NewCops: disable
SuggestExtensions: false
TargetRubyVersion: 3.0
Include:
- "sorbet/rbi/shims/**/*.rbi"
Exclude:
- "vendor/**/*"
- "features/**/*"
Expand Down

0 comments on commit fa55118

Please sign in to comment.