A simple Emacs interface for RuboCop.
Please, note that the current version of RuboCop.el
requires RuboCop
0.9.0 or later.
Just drop rubocop.el
and dash.el
. somewhere in your load-path
. I
favour the folder ~/.emacs.d/vendor
:
(add-to-list 'load-path "~/emacs.d/vendor")
(require 'rubocop)
If you're an Emacs 24 user or you have a recent version of package.el you can install rubocop.el from the Marmalade repository.
If you're an Emacs 24 user or you have a recent version of package.el you can install rubocop.el from the MELPA repository.
rubocop.el
is naturally part of the
Emacs Prelude. If you're a Prelude
user - rubocop.el
is already properly configured and ready for
action.
M-x rubocop-run-on-project
M-x rubocop-run-on-directory
M-x rubocop-run-on-current-file
Check out the project's issue list a list of unresolved issues. By the way - feel free to fix any of them and send me a pull request. :-)
Here's a list of all the people who have contributed to the development of rubocop.el.
Bug reports and suggestions for improvements are always welcome. GitHub pull requests are even better! :-)
Cheers,
Bozhidar