Sharable ESLint config preset for usage across Poupe UI projects.
✅ Includes:
- eslint-config-unjs ❤️
- vue recommended rules with typescript support.
- stylistic recommended formatting rules ❤️
- Poupe UI recommended rules
Note
This preset uses the new ESLint flat config.
Install dependencies:
pnpx install -D eslint typescript @poupe/eslint-config
Create eslint.config.mjs
in your project root:
// @ts-check
import { defineConfig } from '@poupe/eslint-config';
export default defineConfig({
rules: {
// rule overrides
},
});
Tips:
- You can pass any number of flat configs to
defineConfig()
MIT