-
-
Notifications
You must be signed in to change notification settings - Fork 155
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(formatter): add "except" and "only" rubocop formatter options
They take a list or comma separated string of cops, which will be passed to rubocop as --except and/or --only. The "except" option is useful to disable cops which can cause annoyance when using solargraph's formatter as a before save hook in text editors. I'm less aware of what the "only" option might be useful for, but might as well add it so both are covered.
- Loading branch information
Showing
2 changed files
with
18 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters