linter-reek Archived: ... Source Code has been archived

Find code smells in your Ruby projects with Reek

AtomLinter

6,649

15

2.4.2

MIT

GitHub

This package provides the following services:

apm apm apm Build Status

linter-reek

This plugin for Linter provides an interface to Reek. It will be used with files that use the Ruby syntax.

Installation

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.

Installing Reek

Before using this plugin, you must ensure that reek is installed on your system. To install reek, do the following:

  1. Install ruby.

  2. Install Reek by typing the following in a terminal:

    gem install reek
    

Now you can proceed to install the linter-reek plugin.

Installing the Plugin

$ apm install linter-reek

Settings

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.

Executable Path

'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.