Rules for saving simple React Components.
$ npm install eslint-plugin-simple-jsx --save-dev
add plugins and enable the rules at .eslintrc
.
{
"plugins": [
"simple-jsx"
],
"rules": {
"simple-jsx/no-operator": "error"
}
}
Rules for saving simple React Components.
$ npm install eslint-plugin-simple-jsx --save-dev
add plugins and enable the rules at .eslintrc
.
{
"plugins": [
"simple-jsx"
],
"rules": {
"simple-jsx/no-operator": "error"
}
}