0.0.1 • Published 3 years ago

eslint-plugin-lxjsxlint v0.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

eslint-plugin-lxjsxlint

测试jsxlint,如果extends了该插件,会自动应用一条JsxElement排序的规则

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-lxjsxlint:

npm install eslint-plugin-lxjsxlint --save-dev

Usage

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

{
    "extends": [
        "plugin:lxlint/lxRule"
    ]
}

Supported Rules

  • Fill in provided rules here