My personal ESLint config
pnpm install -D @kdt310722/eslint-config
With "type": "module"
in your package.json
(recommended):
// eslint.config.js
import { defineFlatConfig } from '@kdt310722/eslint-config'
export default defineFlatConfig()
With CJS:
// eslint.config.js
const { defineFlatConfig } = require('@kdt310722/eslint-config')
module.exports = defineFlatConfig()
This ESLint configuration is inspired by the
excellent @antfu/eslint-config
package. Special thanks to its
contributors!
This project is licensed under the MIT License - see the LICENSE.md file for details.