Getting Started
Installation
sh
npm install --save-dev @kazupon/eslint-pluginsh
pnpm add -D @kazupon/eslint-pluginsh
yarn add -D @kazupon/eslint-pluginsh
bun add -D @kazupon/eslint-pluginRequirements
- ESLint: v9 or later
- Configuration: flat config style
eslint.config.[js|ts], not support legacy config style.eslintrc - Node.js: v20 or later
Usage
Example eslint.config.js:
js
import { defineConfig } from 'eslint/config'
import kazupon from '@kazupon/eslint-plugin'
export default defineConfig(
...kazupon.configs.recommended,
{
// ...
}
// ... something other configurations
)