AtomLinter / linter-reek

An Atom Linter package for Reek, the Ruby code smell detector.

Home Page:https://atom.io/packages/linter-reek

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

An Atom Linter package for Reek, the Ruby code smell detector.

https://atom.io/packages/linter-reek

License:MIT License


Languages

Language:JavaScript 100.0%