• Packages
  • Themes
  • Documentation
  • Blog
  • Discuss
Sign in

linter-lightning

Lint Salesforce Lightning Components .js files on the fly, using Heroku Toolbelt
  • #lint
  • #linter
  • #lightning
  • #salesforce
  • #javascript
Szandor72
0.8.0 460
0
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

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

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by