@drmikecrowe/eslint-config-prettier-typescript
v0.3.11
Published
drmikecrowe eslint config for TypeScript with prettier
Downloads
3
Maintainers
Readme
Personal configs
Credit: Forked from ntnyq
EsLint config for TypeScript with Prettier
Usage
Install
$ npm i @drmikecrowe/eslint-config-prettier-typescript -D
# OR
$ yarn add @drmikecrowe/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: ['@drmikecrowe/prettier-typescript'],
rules: {
// Override rules
},
}
in package.json
{
"eslintConfig": {
"root": true,
"extends": "@drmikecrowe/prettier-typescript"
}
}