1.0.6 • Published 7 years ago

lightning-linter v1.0.6

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

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
1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago