2.2.0 • Published 7 months ago

@adufr/eslint-config v2.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

@adufr/eslint-config npm

A thin wrapper around @sxzz/eslint-config with the same features and configuration options.

Install

# using pnpm
pnpm add -D eslint @adufr/eslint-config

Usage

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:

License

MIT License © 2025-PRESENT Arthur Dufour

2.2.0

7 months ago

2.1.1

7 months ago

2.1.0

7 months ago

2.0.0

8 months ago

1.0.2

9 months ago

1.0.1

9 months ago