branch: elpa/rubocop
commit 8e9ec29fc7b59f45ab68e2ffef5c03f87f0830f3
Author: Bozhidar Batsov <[email protected]>
Commit: Bozhidar Batsov <[email protected]>
Update for RuboCop 0.9 (fixes #1)
---
README.md | 2 ++
rubocop.el | 4 ++--
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index 192c1f7..253c38d 100644
--- a/README.md
+++ b/README.md
@@ -4,6 +4,8 @@ A simple Emacs interface for
[RuboCop](https://github.com/bbatsov/rubocop).
# Installation
+Please, note that the current version of `RuboCop.el` requires `RuboCop` 0.9.0
or later.
+
## Manual
Just drop `rubocop.el` and `dash.el`. somewhere in your `load-path`. I
diff --git a/rubocop.el b/rubocop.el
index 7a23cc4..8101d36 100644
--- a/rubocop.el
+++ b/rubocop.el
@@ -4,7 +4,7 @@
;; Author: Bozhidar Batsov
;; URL: https://github.com/bbatsov/rubocop-emacs
-;; Version: 0.1
+;; Version: 0.2
;; Keywords: project, convenience
;; Package-Requires: ((dash "1.0.0"))
@@ -78,7 +78,7 @@ Alternatively prompt user for directory."
(or directory
(read-directory-name "Select directory:"))))
(compilation-start
- (concat "rubocop -es " directory)
+ (concat "rubocop --format emacs " directory)
'compilation-mode
(lambda (arg) (message arg) (rubocop-buffer-name directory)))))