lightning-linter

1.0.6 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i lightning-linter

Weekly Downloads

0

Version

1.0.6

License

MIT

Last publish

Collaborators

  • jsuarez.chipiron