0.2.0 • Published 5 months ago
@kdt310722/eslint-config v0.2.0
@kdt310722/eslint-config
My personal ESLint config
Installation
pnpm install -D @kdt310722/eslint-configUsage
Create an ESLint configuration file:
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()Credit
This ESLint configuration is inspired by the
excellent @antfu/eslint-config package. Special thanks to its
contributors!
License
This project is licensed under the MIT License - see the LICENSE.md file for details.