eslint-plugin-jsx-plus
eslint plugin for jsx plus
Last updated 5 years ago by later_7 .
ISC · Original npm · Tarball · package.json
$ npm install eslint-plugin-jsx-plus 
SYNC missed versions from official npm registry.

eslint-plugin-jsx-plus

eslint plugin for jsx plus

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-jsx-plus:

$ npm install eslint-plugin-jsx-plus --save-dev

Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-jsx-plus globally.

Usage

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

{
    "extends": [
        "react-app",
        "plugin:jsx-plus/recommended"
    ],
    "plugins": [
        "jsx-plus"
    ]
}

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

{
    "rules": {
        "jsx-plus/valid-x-for": 2
    }
}

Supported Rules

  • jsx-plus/no-duplicate-directives
  • jsx-plus/valid-x-class
  • jsx-plus/valid-x-memo
  • jsx-plus/valid-x-for
  • jsx-plus/valid-x-slot
  • jsx-plus/no-duplicate-declaration-for-x-slot
  • jsx-plus/forbid-use-x-elseif-alone
  • jsx-plus/forbid-use-x-else-alone
  • jsx-plus/forbid-assignment-to-x-else

Current Tags

  • 0.1.0                                ...           latest (5 years ago)

10 Versions

  • 0.1.0                                ...           5 years ago
  • 0.0.9                                ...           5 years ago
  • 0.0.8                                ...           5 years ago
  • 0.0.7                                ...           5 years ago
  • 0.0.6                                ...           5 years ago
  • 0.0.5                                ...           5 years ago
  • 0.0.4                                ...           5 years ago
  • 0.0.3                                ...           5 years ago
  • 0.0.2                                ...           5 years ago
  • 0.0.1                                ...           5 years ago
Maintainers (1)
Downloads
Total 0
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (2)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE