Lucie's ESLint config preset powered by and built on top of Anthony's ESLint config preset.
Install dependencies:
pnpm install --dev eslint @lihbr/eslint-config
Create eslint.config.js
in your project root:
// @ts-check
import lihbr from "@lihbr/eslint-config"
export default lihbr()
Finally, add scripts in your package.json
:
{
"scripts": {
"lint": "eslint .",
"lint:fix": "eslint . --fix"
}
}
Please refer to @antfu/eslint-config
's documentation. lihbr
uses the same interface as antfu
so it can be customized it the same way.
Whether you're helping me fix bugs, improve the docs, or spread the word, I'd love to have you as a contributor!
Asking a question: Open a new topic on GitHub Discussions explaining what you want to achieve / your question. I'll try to get back to you shortly.
Reporting a bug: Open an issue explaining your application's setup and the bug you're encountering.
Suggesting an improvement: Open an issue explaining your improvement or feature so we can discuss and learn more.
Submitting code changes: For small fixes, feel free to open a PR with a description of your changes. For large changes, please first open an issue so we can discuss if and how the changes should be implemented.
MIT License © 2024-PRESENT Lucie Haberer