You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To enable RuboCop only when config (.rubocop.yml) is present in a project directory, I've created the global config (~/.rubocop.yml) with the following:
AllCops:
Exclude:
- '**/*'
But it doesn't seem to work (innocent projects with no config get rubocopped anyway).
I'm using Spacemacs (with ruby layer), and I'd like a clean solution.
Suggestions are most appreciated.
p.s. tried adding --force-exclusion to the "check command" with no effect
The text was updated successfully, but these errors were encountered:
To enable RuboCop only when config (
.rubocop.yml
) is present in a project directory, I've created the global config (~/.rubocop.yml
) with the following:But it doesn't seem to work (innocent projects with no config get rubocopped anyway).
I'm using Spacemacs (with
ruby
layer), and I'd like a clean solution.Suggestions are most appreciated.
p.s. tried adding
--force-exclusion
to the "check command" with no effectThe text was updated successfully, but these errors were encountered: