1.0.4 • Published 8 months ago
@jdion/eslint-config v1.0.4
@jdion/eslint-config
- Lint and format code (No Prettier)
- Designed to work with TypeScript, React
- Lint support for json, yaml, markdown files
Install
pnpm add -D eslint @jdion/eslint-config
Usage
Create a ESLint configuration file .eslintrc
with:
{
"extends": "@jdion"
}
Add lint scripts
In your package.json
add the following scripts:
{
"scripts": {
"lint": "eslint .",
"lint:fix": "eslint . --fix"
}
}
License
MIT License © 2023-PRESENT Jonathan Dion