2.2.0 • Published 7 months ago
@adufr/eslint-config v2.2.0
@adufr/eslint-config 
A thin wrapper around @sxzz/eslint-config with the same features and configuration options.
Install
# using pnpm
pnpm add -D eslint @adufr/eslint-configUsage
Create an eslint.config.ts file in your project root:
import { adufr } from '@adufr/eslint-config'
export default adufr(
{
prettier: true, // Auto-detected if not specified
vue: true, // Auto-detected if not specified
unocss: false, // Auto-detected if not specified
markdown: true,
vueI18n: false, // Enable Vue I18n support
},
[
// Your custom overrides (optional)
{
ignores: ['src/generated/**'],
},
],
)Features
This package provides all the same features as @sxzz/eslint-config:
- JavaScript, TypeScript, Vue, JSX, JSON, YAML, Markdown support
- Automatic detection of installed dependencies
- Opinionated but configurable defaults
For detailed configuration options, please refer to the @sxzz/eslint-config documentation.
Additional features:
- Vue I18n support via @intlify/eslint-plugin-vue-i18n
License
MIT License © 2025-PRESENT Arthur Dufour