@stone-lemons/eslint-config-prettier-typescript-react
v0.0.8
Published
stone-lemons eslint config for TypeScript and React.js with Prettier
Downloads
3
Maintainers
Readme
Personal configs
Credit: Forked from ntnyq
EsLint config for React.js and TypeScript with Prettier
Usage
Install
$ npm i @stone-lemons/eslint-config-prettier-typescript-react -D
# OR
$ yarn add @stone-lemons/eslint-config-prettier-typescript-react -D
Extend this config
in .eslintrc.js
module.exports = {
root: true,
extends: ['@stone-lemons/prettier-typescript-react'],
rules: {
// Override rules
},
}
in package.json
{
"eslintConfig": {
"root": true,
"extends": "@stone-lemons/prettier-typescript-react"
}
}