1.0.4 • Published 2 years 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-configUsage
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