Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Brushett committed Mar 16, 2021
1 parent f414b56 commit c108e74
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ Sorbet/KeywordArgumentOrdering:
Enabled: true
VersionAdded: 0.2.0

Sorbet/OnedAncestorPerLine:
Sorbet/OneAncestorPerLine:
Description: 'Enforces one ancestor per call to requires_ancestor'
Enabled: false
VersionAdded: '0.6.0'
Expand Down
2 changes: 1 addition & 1 deletion manual/cops_sorbet.md
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ def foo(b:, a: 1); end
Enabled by default | Safe | Supports autocorrection | VersionAdded | VersionChanged
--- | --- | --- | --- | ---
Enabled | Yes | Yes | - | -
Disabled | Yes | Yes | 0.6.0 | -
This cop ensures one ancestor per requires_ancestor line
rather than chaining them as a comma-separated list.
Expand Down

0 comments on commit c108e74

Please sign in to comment.