Skip to content

Latest commit

 

History

History
54 lines (37 loc) · 1.49 KB

integration.md

File metadata and controls

54 lines (37 loc) · 1.49 KB
layout
base

Editor integration

Emacs

rubocop.el is a simple Emacs interface for RuboCop. It allows you to run RuboCop inside Emacs and quickly jump between problems in your code.

flycheck > 0.9 also supports RuboCop and uses it by default when available.

Vim

The vim-rubocop plugin runs RuboCop and displays the results in Vim.

There's also a RuboCop checker in syntastic.

Sublime Text

If you're a ST user you might find the Sublime RuboCop plugin useful.

TextMate2

The textmate2-rubocop bundle displays formatted RuboCop results in a new window. Installation instructions can be found here.

Atom

The atom-lint package runs RuboCop and highlights the offenses in Atom.

You can also use the linter-rubocop plugin for Atom's linter.

Git pre-commit hook integration

overcommit is a fully configurable and extendable Git commit hook manager. To use RuboCop with overcommit, add the following to your .overcommit.yml file:

PreCommit:
  RuboCop:
    enabled: true