This package provides the following services:
linter-lightning
This Atom linter plugin for Linter provides an interface to the Lightning Linter in the Heroku Toolbelt.
##Features
- per file linting on save (deviation from default cli behaviour which scans whole directories only)
- will only lint lightning component .js files, no others
- show errors only
- use additional custom
.eslintrc
(not functional yet, will add if someone needs it)
Installation
Toolbelt
installation
Before installing this plugin, you must ensure that Heroku CLI toolbelt
is installed on your
system. For detailed instructions see Heroku.com
Notes for Windows
- please install Ruby before installing Heroku
- Heroku will otherwise install its own instance of Ruby incl PATH vars. These might cause issues
- tested on a Win10 machine with most recent Windows Insider Built
Plugin installation
After verifying that Lightning Linter
works from your terminal, proceed to install the linter-lightning plugin as any other plugin. Should this fail, please:
- copy to atom/packages
- open terminal
- run `adm install`
Kudos to
- the makers of linter-phpmd from which I created this linter
- ArcaneMagus
- The Heroku lightning Team