1
1
mirror of https://github.com/theoludwig/eslint-config-conventions.git synced 2025-09-11 23:09:27 +02:00

fix!: usage of eslint defineConfig()

Ref: https://typescript-eslint.io/packages/typescript-eslint/#migrating-to-defineconfig

BREAKING CHANGE: peerDependencies:
`eslint@^9.22.0`
`eslint-plugin-unicorn@^61.0.0`
This commit is contained in:
2025-09-11 19:48:20 +02:00
parent 929978af36
commit 2d8260472a
9 changed files with 246 additions and 330 deletions

8
index.d.ts vendored
View File

@@ -1,7 +1,5 @@
import type typescriptESLint from "typescript-eslint"
import type { defineConfig } from "eslint/config"
declare const eslintConfigConventions: ReturnType<
typeof typescriptESLint.config
>
declare const eslintConfig: ReturnType<typeof defineConfig>
export default eslintConfigConventions
export default eslintConfig