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