Skip to content

benjohnson/atom-lint

 
 

Repository files navigation

Atom-Lint

Generic code linting support for Atom.

Screenshot

Atom-Lint is currently in alpha development.

Supported Linters

More linters will be supported in the future.

Installation

$ apm install atom-lint

Usage

Your source will be linted on open and on save automatically, and the detected violations will be displayed as arrows in the editor. You can see the detail of the violation by moving the cursor to it.

Keymaps

  • Ctrl-Alt-L for global toggle

Configuration

You can configure Atom-Lint by editing config.cson file (choose Open Your Config in Atom menu):

# Some other settings...
'atom-lint':
  'rubocop':
    'path': '/path/to/bin/rubocop'
  'flake8':
    'path': '/path/to/bin/flake8'
  'hlint':
    'path': '/path/to/bin/hlint'

atom-lint.rubocop.path

Specify an executable path for rubocop command.

By default Atom-Lint automatically refers the environement variable PATH of your login shell if it's bash or zsh, and invokes rubocop command. If you got a problem with PATH, use this setting.

atom-lint.flake8.path

Specify an executable path for flake8 command. Similar to the rubocop path argument described above.

atom-lint.hlint.path

Specify an executable path for hlint command. Similar to the rubocop path argument described above.

Contributors

Here's a list of all contributors to Atom-Lint.

License

Copyright (c) 2014 Yuji Nakayama

See the LICENSE.txt for details.

About

Generic code linting support for Atom.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CoffeeScript 94.5%
  • CSS 5.5%