Generic code linting support for Atom.
Atom-Lint is currently in alpha development.
More linters will be supported in the future.
$ apm install atom-lint
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.
Ctrl-Alt-L
for global toggle
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'
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.
Specify an executable path for flake8
command. Similar to the rubocop
path argument described above.
Specify an executable path for hlint
command. Similar to the rubocop
path argument described above.
Here's a list of all contributors to Atom-Lint.
Copyright (c) 2014 Yuji Nakayama
See the LICENSE.txt for details.