putan / eslint-plugin-simple-jsx

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ESLint-plugin-simple-jsx

Rules for saving simple React Components.

Installation

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

Configuration

add plugins and enable the rules at .eslintrc.

{
  "plugins": [
    "simple-jsx"
  ],
  "rules": {
    "simple-jsx/no-operator": "error"
  }
}

About


Languages

Language:JavaScript 100.0%