@eslint-react/eslint 5.13.1 → 5.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1 -6
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ESLintUtils } from "@typescript-eslint/utils";
|
|
2
2
|
import * as tseslint from "@typescript-eslint/utils/ts-eslint";
|
|
3
3
|
import { ReportFixFunction, RuleFix, RuleFixer, RuleListener, RuleListener as RuleListener$1 } from "@typescript-eslint/utils/ts-eslint";
|
|
4
|
-
|
|
5
4
|
//#region src/types.d.ts
|
|
6
5
|
/**
|
|
7
6
|
* Rule context.
|
|
@@ -15,11 +14,7 @@ type RuleContext<MessageIds extends string = string, Options extends readonly un
|
|
|
15
14
|
type RuleFeature = "CFG" | "DBG" | "FIX" | "MOD" | "TSC" | "EXP";
|
|
16
15
|
//#endregion
|
|
17
16
|
//#region src/utils.d.ts
|
|
18
|
-
declare const createRule: <Options extends readonly unknown[], MessageIds extends string>({
|
|
19
|
-
meta,
|
|
20
|
-
name,
|
|
21
|
-
...rule
|
|
22
|
-
}: Readonly<ESLintUtils.RuleWithMetaAndName<Options, MessageIds, unknown>>) => ESLintUtils.RuleModule<MessageIds, Options, unknown, ESLintUtils.RuleListener> & {
|
|
17
|
+
declare const createRule: <Options extends readonly unknown[], MessageIds extends string>({ meta, name, ...rule }: Readonly<ESLintUtils.RuleWithMetaAndName<Options, MessageIds, unknown>>) => ESLintUtils.RuleModule<MessageIds, Options, unknown, ESLintUtils.RuleListener> & {
|
|
23
18
|
name: string;
|
|
24
19
|
};
|
|
25
20
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/eslint",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.14.0",
|
|
4
4
|
"description": "ESLint React's ESLint types and utils.",
|
|
5
5
|
"homepage": "https://github.com/Rel1cx/eslint-react",
|
|
6
6
|
"bugs": {
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@tsconfig/node24": "^24.0.4",
|
|
36
|
-
"@types/node": "^26.1.
|
|
36
|
+
"@types/node": "^26.1.1",
|
|
37
37
|
"eslint": "^10.6.0",
|
|
38
|
-
"tsdown": "^0.22.
|
|
38
|
+
"tsdown": "^0.22.4",
|
|
39
39
|
"typescript": "6.0.3",
|
|
40
40
|
"@local/configs": "0.0.0"
|
|
41
41
|
},
|