0.1.0 • Published 6 years ago
@covertcj/ts-config v0.1.0
es-config
Simple, modern TypeScript tooling configuration common to many of my projects.
Setup
Install @covertcj/es-config and it's peer dependencies:
npm i -D @covertcj/es-config @typescript-eslint/parser @typescript-eslint/eslint-plugin typescript eslint prettier eslint-config-prettier eslint-plugin-prettierThen copy the config templates into your project:
cp "node_modules/@covertcj/es-config/templates/*" ./And add an eslint runner to your package.json's scripts:
{
"scripts": {
"lint": "tsc --noEmit && eslint --fix --ext .js,.ts src/"
}
}0.1.0
6 years ago