@yzydeveloper/eslint-config
v2.1.0
Published
My ESLint config.
Readme
@yzydeveloper/eslint-config
My custom ESLint flat config.
Usage
Install
pnpm add -D eslint @yzydeveloper/eslint-configConfig
Create eslint.config.mjs in your project root.
// eslint.config.mjs
import yzydeveloper from '@yzydeveloper/eslint-config'
export default yzydeveloper()Add Script
{
"scripts": {
"lint": "eslint",
"lint:fix": "eslint --fix"
}
}CLI
You can also use the CLI to setup the config.
pnpm dlx @yzydeveloper/eslint-config@latestFeatures
- ESLint flat config
- Auto fix for formatting
- TypeScript, JSX, Vue, JSON, YAML, TOML, Markdown support
- Optional React, Next.js, Svelte, UnoCSS, Astro, Solid support
- Respects
.gitignoreby default
