1.0.0 • Published 3 years ago

eslint-config-spx-react v1.0.0

Weekly downloads
77
License
MIT
Repository
-
Last release
3 years ago

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')