0.0.8 • Published 2 years ago
@stone-lemons/eslint-config-prettier-typescript v0.0.8
Personal configs
Credit: Forked from ntnyq
EsLint config for TypeScript with Prettier
Usage
Install
$ npm i @stone-lemons/eslint-config-prettier-typescript -D
# OR
$ yarn add @stone-lemons/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: ['@stone-lemons/prettier-typescript'],
rules: {
// Override rules
},
}
in package.json
{
"eslintConfig": {
"root": true,
"extends": "@stone-lemons/prettier-typescript"
}
}
0.0.8
2 years ago