0.2.0 • Published 1 month ago
@erkoware/eslint-config-ts v0.2.0
WIP erkoware Formatting and Lint Rules
testing
This repository contains the formatting and lint rules used by erkoware.
Usage
ESLint
Install the package matching your project:
- TypeScript:
@erkoware/eslint-config-ts
- FoalTS:
@erkoware/eslint-config-foalts
- Vue.js:
@erkoware/eslint-config-vue
npm install --save-dev @erkoware/eslint-config-ts
Then, in your .eslintrc.js
file, add the following line:
// TypeScript
{
"extends": "@erkoware/eslint-config-ts"
}
Prettier
And in your .prettierrc
file, add the following line:
"@erkoware/prettier-config"