Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove obsolete Sorbet/OneAncestorPerLine cop #206

Merged
merged 1 commit into from
Apr 16, 2024

Conversation

sambostock
Copy link
Contributor

@sambostock sambostock commented Mar 19, 2024

Since require_ancestor no longer accepts arguments, this cop is obsolete.

⚠️ Before Merging

@sambostock sambostock force-pushed the deprecate-one-ancestor-per-line branch from d8fb2c6 to 1314ae3 Compare March 19, 2024 23:24
@sambostock sambostock marked this pull request as ready for review March 19, 2024 23:25
@sambostock sambostock requested a review from a team as a code owner March 19, 2024 23:25
@sambostock sambostock mentioned this pull request Mar 20, 2024
@sambostock sambostock force-pushed the deprecate-one-ancestor-per-line branch from 1314ae3 to e3ace9d Compare March 20, 2024 02:55
@sambostock sambostock changed the base branch from main to add-obsoletion-config March 20, 2024 02:55
Base automatically changed from add-obsoletion-config to main March 20, 2024 15:33
Since `require_ancestor` no longer accepts arguments, this cop is
obsolete.
@sambostock sambostock force-pushed the deprecate-one-ancestor-per-line branch from e3ace9d to c517b7f Compare March 20, 2024 17:00
@sambostock sambostock merged commit 2cfb6cc into main Apr 16, 2024
11 checks passed
@sambostock sambostock deleted the deprecate-one-ancestor-per-line branch April 16, 2024 21:38
st0012 added a commit that referenced this pull request Apr 29, 2024
This cop has been removed in #206, so we should remove it from the
rubocop config as well. Otherwise, downstream users will see this error:

```
Error: The `Sorbet/OneAncestorPerLine` cop has been removed since `require_ancestor` now takes a block instead of arguments.
(obsolete configuration found in vendor/bundle/ruby/3.3.0/gems/rubocop-sorbet-0.8.2/config/rbi.yml, please update it)
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants