This plugin for Linter provides an interface to Reek. It will be used with files that use the Ruby syntax.
Linter must be installed in order to use this plugin. It is a hard dependency. If Linter is not installed, please follow the instructions here.
Before using this plugin, you must ensure that reek
is installed on your
system. To install reek
, do the following:
Now you can proceed to install the linter-reek plugin.
$ apm install linter-reek
You can configure linter-reek from its settings panel or by editing
~/.atom/config.cson
(choose Open Your Config in Atom menu). The only thing
that needs to be configured is the path to the reek
executable.
'linter-reek':
'reekExecutablePath': /path/to/your/reek/here
Run which reek
to find the path (if you're using rbenv run
rbenv which reek
).
Note: This plugin finds the nearest config.reek
file and will
automatically use it if it exists. If it does not, reek
will run with its
default settings.