chore: fix type error caused by new @stylistic/eslint-plugin version

This commit is contained in:
ryan-0324 2024-08-29 12:48:47 -04:00
parent a5819f71c8
commit 571b09bc05
2 changed files with 14 additions and 4 deletions

View file

@ -1,3 +1,13 @@
diff --git a/dist/dts/index.d.ts b/dist/dts/index.d.ts
index 14b31ba65b45b87f748d8e3e88c3808d7866a887..7529b0a52f977649d301242a8b5027fc1d726bc2 100644
--- a/dist/dts/index.d.ts
+++ b/dist/dts/index.d.ts
@@ -1,4 +1,4 @@
-import { Rule, Linter } from 'eslint';
+import { Rule, Linter, ESLint } from 'eslint';
import { UnprefixedRuleOptions } from './rule-options.js';
export { RuleOptions } from './rule-options.js';
diff --git a/dist/rules/brace-style.js b/dist/rules/brace-style.js
index 224d58eb1e9047e572c6e3cecb567a5b69379392..3b6dbdefb1968efdbbe7887bac11baff8bbe2816 100644
--- a/dist/rules/brace-style.js

View file

@ -23,7 +23,7 @@ overrides:
patchedDependencies:
'@stylistic/eslint-plugin@2.7.1':
hash: hgabz23qzpdlfvbmkgegp3so3q
hash: iqb44y745sgygcjzpm7tbam46i
path: patches/@stylistic__eslint-plugin@2.7.1.patch
eslint-plugin-path-alias@2.1.0:
hash: japuwsqfkulviwgkm4kd2oi3ky
@ -63,7 +63,7 @@ importers:
devDependencies:
'@stylistic/eslint-plugin':
specifier: ^2.7.1
version: 2.7.1(patch_hash=hgabz23qzpdlfvbmkgegp3so3q)(eslint@9.9.1(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))(typescript@5.5.4)
version: 2.7.1(patch_hash=iqb44y745sgygcjzpm7tbam46i)(eslint@9.9.1(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))(typescript@5.5.4)
'@stylistic/stylelint-config':
specifier: ^2.0.0
version: 2.0.0(stylelint@16.9.0(typescript@5.5.4))
@ -193,7 +193,7 @@ importers:
devDependencies:
'@stylistic/eslint-plugin':
specifier: ^2.7.1
version: 2.7.1(patch_hash=hgabz23qzpdlfvbmkgegp3so3q)(eslint@9.9.1(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))(typescript@5.5.4)
version: 2.7.1(patch_hash=iqb44y745sgygcjzpm7tbam46i)(eslint@9.9.1(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))(typescript@5.5.4)
'@types/node':
specifier: ^20.16.2
version: 20.16.2
@ -2663,7 +2663,7 @@ snapshots:
'@sapphi-red/web-noise-suppressor@0.3.5': {}
'@stylistic/eslint-plugin@2.7.1(patch_hash=hgabz23qzpdlfvbmkgegp3so3q)(eslint@9.9.1(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))(typescript@5.5.4)':
'@stylistic/eslint-plugin@2.7.1(patch_hash=iqb44y745sgygcjzpm7tbam46i)(eslint@9.9.1(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))(typescript@5.5.4)':
dependencies:
'@types/eslint': 9.6.1
'@typescript-eslint/utils': 8.3.0(eslint@9.9.1(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))(typescript@5.5.4)