Skip to content

jsuarez-chipiron/lightning-linter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lightning-linter

A linter for lightning components.

Installation

npm install lightning-linter

Create a test.js file with the following content:

// test.js
require('lightning-linter');

Run

Locate a directory with lightning components. And launch the following command:

node test.js <lightning-components-dir> <outputFile CSV>

Open the generated CSV with your favourite CSV viewer.

Customizing rules

You can customize your own ESlint rules by editing the following file

<install_dir>/node_modules/lightning-linter/my_rules.json

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published