eslint-plugin-lsp

1.0.0 • Public • Published

eslint-plugin-lsp

Eslint plugin for sorting import declarations and some JSX.

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-lsp:

npm install eslint-plugin-lsp --save-dev

Usage

Add 1 to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
  "plugins": ["lsp"]
}

Then configure the rules you want to use under the rules section.

{
  "rules": {
    "lsp/rule-name": 2
  }
}

Supported Rules

  • Fill in provided rules here

Contribution Guide

To generate a new rule, run yo eslint:rule.

Package Sidebar

Install

npm i eslint-plugin-lsp

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

52.8 kB

Total Files

19

Last publish

Collaborators

  • daifeng