eslint-config-spx-react
v1.0.0
Published
Shareable ESlint and Prettier configuration files using prettier-standard, react-app, jsx-a11y, react, react-hooks, sonarjs
Downloads
210
Maintainers
Readme
eslint-plugin-standard-prettier-react
Shareable ESlint and Prettier configuration files using prettier-standard, react-app, jsx-a11y, react, react-hooks, sonarjs
Usage
Install ESlint and Prettier in the project.
$ yarn add --save-dev eslint
$ yarn add --save-dev --save-exact prettier
Create ESlint and Prettier configurations in the root directory
// .eslintrc.json
{
"extends": [
"spx-react"
]
}
// .prettierrc.js
module.exports = require('eslint-config-spx-react/lib/prettier')