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 warning from RuboCop in rbi config #265

Merged
merged 1 commit into from
Oct 21, 2024

Conversation

Earlopain
Copy link
Contributor

@Earlopain Earlopain commented Oct 21, 2024

Warning: Sorbet does not support DisabledByDefault parameter.

Supported parameters are:

  - DocumentationBaseURL
  - DocumentationExtension

This is true (except for the part where RuboCop only suggests a subset of valid keys). 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.

```
Warning: Sorbet does not support DisabledByDefault parameter.

Supported parameters are:

  - DocumentationBaseURL
  - DocumentationExtension
```

This is true. Because of Shopify#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.
@Earlopain Earlopain requested a review from a team as a code owner October 21, 2024 08:06
@egiurleo egiurleo merged commit ac6394b into Shopify:main Oct 21, 2024
6 checks passed
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.

2 participants