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