node module which lints TypeScript projects according to recommended rules vis eslint and prettier.
In the project you wish to lint
.eslintrc
{
"extends": "eslint-config-prettier-ts"
}
prettier.config.js
module.exports = require('eslint-config-prettier-ts/.prettierrc');
package.json
"scripts": {
"lint": "eslint ./"
},
git clone https://github.com/michaelmelody91/eslint-config-prettier-ts
cd eslint-config-prettier-ts
yarn link
cd <PROJECT_TO_LINT>
yarn link eslint-config-prettier-ts
Medium: How to create your own shared eslint prettier and stylelint configuration
Using eslint and prettier in a typescript project
MIT