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

Disable the Sorbet department by default #126

Merged
merged 1 commit into from
May 1, 2019
Merged

Conversation

XrXr
Copy link
Contributor

@XrXr XrXr commented May 1, 2019

Even though we have

AllCops:
  DisabledByDefault: true

The option is not respected for custom cops. This leads to Sorbet cops being ran on repos that are not using Sorbet on Policial,
because Policial loads the custom cops.
This kind of sucks for local usage because it prints a warning about unknown department, but we can remove this once upstream
fixes this issues.

Even though we have
```
AllCops:
  DisabledByDefault: true
```
The option is not respected for custom cops. This leads to Sorbet cops being ran on repos that are not using Sorbet on Policial,
because Policial loads the custom cops.
This kind of sucks for local usage because it prints a warning about unknown department, but we can remove this once upstream
fixes this issues.
@XrXr
Copy link
Contributor Author

XrXr commented May 1, 2019

cc @caynan

@XrXr
Copy link
Contributor Author

XrXr commented May 1, 2019

rubocop/rubocop#7013 patch submitted upstream.

@XrXr
Copy link
Contributor Author

XrXr commented May 1, 2019

I'm going to merge this now, since I don't want people running into false alarms.

@XrXr XrXr merged commit a36a5b8 into master May 1, 2019
@XrXr XrXr deleted the no-sorbet-by-default branch May 1, 2019 20:38
@rafaelfranca rafaelfranca temporarily deployed to rubygems February 26, 2020 19:24 Inactive
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

3 participants