Skip to content

Commit

Permalink
Remove warning from RuboCop in rbi config
Browse files Browse the repository at this point in the history
```
Warning: Sorbet does not support DisabledByDefault parameter.

Supported parameters are:

  - DocumentationBaseURL
  - DocumentationExtension
```

This is true. Because of #252, the top-level Sorbet config key now can be present simply by loading the config, which causes
RuboCop to do some extra validating.

`DisabledByDefault` is already set for all cops at the top anyways.
  • Loading branch information
Earlopain committed Oct 21, 2024
1 parent 55b99e8 commit b66b4d7
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions config/rbi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -199,9 +199,6 @@ Lint/Syntax:

## Sorbet

Sorbet:
DisabledByDefault: true

Sorbet/EnforceSigilOrder:
Enabled: true

Expand Down

0 comments on commit b66b4d7

Please sign in to comment.