Personal ESLint configuration for my projects.
npx @preset/cli innocenzi/config --eslint
There are three configurations:
@innocenzi/eslint-config/typescript
- This is the default, for TypeScript projects.@innocenzi/eslint-config/vue
- It extends the TypeScript one, for Vue projects.@innocenzi/eslint-config/basic
- If I ever do something without TypeScript.
{
"extends": "@innocenzi/eslint-config"
}
Most of the configuration comes from @antfu/eslint-config
. I've been using this for a while with a superset of my own rules, so I've decided to make my own reusable configuration.