1.0.0 • Published 3 years ago

eslint-config-spx v1.0.0

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

eslint-config-spx

Shareable ESlint and Prettier configuration files using prettier-standard, 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"
  ]
}
// .prettierrc.js
module.exports = require('eslint-config-spx/lib/prettier')