eslint-config-spx-tsn
v1.0.2
Published
Shareable ESlint and Prettier configuration files for Typescript using prettier-standard, sonarjs
Downloads
4
Maintainers
Readme
eslint-config-spx-tsn
Shareable ESlint and Prettier configuration files for Typescript 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-tsn"
]
}
// .prettierrc.js
module.exports = require('eslint-config-spx-tsn/lib/prettier')