Skip to content

hanmoi-choi/reek-emacs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Synopsis

An interface for the Reek ruby linter

Installation

Please, note that the current version of reek.el requires Reek

Manual

Just drop reek.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 'reek)

Usage

CommandDescriptionReek mode binding
M-x reek-check-projectRuns Reek on the entire projectC-x R p
M-x reek-check-directoryPrompts from a directory on which to run ReekC-x R d
M-x reek-check-current-fileRuns Reek on the currently visited fileC-x R f

If you use them often you might want to enable reek-mode which will added some keybindings for them:

(add-hook 'ruby-mode-hook #'reek-mode)

Credit

Majority part of code is from RuboCop Emacs

Bugs & Improvements

Bug reports and suggestions for improvements are always welcome. GitHub pull requests are even better! :-)

Cheers, Daniel

About

Simple Emacs Interface for Reek

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published