Skip to content

Szandor72/vscode-lightning-linter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vscode-linter-lightning

This VSCODE linter plugin provides an interface to the Lightning Linter in the Heroku Toolbelt or in alternative to Salesforce DX CLI.

Features

  • per file linting on save or open (deviation from default cli behaviour which scans whole directories only)
  • will only lint lightning component .js files, no others
  • show errors only // ignore warnings

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

If you instead want to run Salesforce DX make sure to install the CLI from here.

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

Notes for Mac

  • initial release did not support Mac, it does now.

Plugin installation

Makre sure you heroku is added to your PATH. After verifying that Lightning Linter works from your terminal, proceed to install the extension.

Kudos to

About

On the fly linting for your Lightning Components in VS Code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published