0.0.1 • Published 2 years ago
eslint-config-ts-fixer v0.0.1
This config is:
- ✅ No meaningless rules.
- ✅ All containing rules are explicit.
Explicit all rule set 🔔
Installation
npm install --save-dev eslint-config-ts-prefixer eslint @typescript-eslint/eslint-plugin @typescript-eslint/parser typescript eslint-config-prettier eslint-plugin-import eslint-import-resolver-typescript eslint-plugin-prettier eslint-plugin-sort-keys-fix prettier
or using yarn
yarn add -D eslint-config-ts-prefixer eslint @typescript-eslint/eslint-plugin @typescript-eslint/parser typescript eslint-config-prettier eslint-plugin-import eslint-import-resolver-typescript eslint-plugin-prettier eslint-plugin-sort-keys-fix prettier
- Add the extends to your
.eslintrc.js
or.eslintrc.json
or.eslintrc
.
.eslintrc.json
{
"extends": "ts-prefixer"
}
- And need
.prettierrc
file because this package refers your.prettierrc
and use directly.
If you don't have.prettierrc
, pleasetouch .prettierrc
and set prettier rules depends on your preferece like this.
.prettierrc
{
"singleQuote": true,
"semi": false
}
LICENSE
MIT
0.0.1
2 years ago