@eslint-react/kit 5.0.2-next.5 → 5.1.0-beta.1
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/README.md +1 -1
- package/dist/index.d.ts +4 -3
- package/dist/index.js +3 -2
- package/package.json +7 -6
package/README.md
CHANGED
|
@@ -37,10 +37,10 @@ npm install --save-dev @eslint-react/kit
|
|
|
37
37
|
## Quick Start
|
|
38
38
|
|
|
39
39
|
```ts
|
|
40
|
-
import eslintReact from "@eslint-react/eslint-plugin";
|
|
41
40
|
import eslintReactKit, { merge } from "@eslint-react/kit";
|
|
42
41
|
import type { RuleFunction } from "@eslint-react/kit";
|
|
43
42
|
import eslintJs from "@eslint/js";
|
|
43
|
+
import eslintReact from "eslint-plugin-react-xtended";
|
|
44
44
|
import { defineConfig } from "eslint/config";
|
|
45
45
|
import tseslint from "typescript-eslint";
|
|
46
46
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import * as core from "@eslint-react/core";
|
|
2
|
-
import { ESLintReactSettingsNormalized
|
|
2
|
+
import { ESLintReactSettingsNormalized } from "@eslint-react/shared";
|
|
3
|
+
import { RuleFix, RuleFixer, RuleListener, merge } from "@eslint-react/eslint";
|
|
3
4
|
import { TSESTreeFunction } from "@eslint-react/ast";
|
|
4
5
|
import { SyntaxKind } from "typescript";
|
|
5
6
|
import { RuleContext } from "@typescript-eslint/utils/ts-eslint";
|
|
6
7
|
import { ESLint, Linter } from "eslint";
|
|
7
8
|
|
|
8
|
-
//#region ../../../node_modules/.pnpm/@typescript-eslint+types@8.58.
|
|
9
|
+
//#region ../../../node_modules/.pnpm/@typescript-eslint+types@8.58.1/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts
|
|
9
10
|
declare type Accessibility = 'private' | 'protected' | 'public';
|
|
10
11
|
declare type AccessorProperty = AccessorPropertyComputedName | AccessorPropertyNonComputedName;
|
|
11
12
|
declare interface AccessorPropertyComputedName extends PropertyDefinitionComputedNameBase {
|
|
@@ -2144,7 +2145,7 @@ declare interface YieldExpression extends BaseNode {
|
|
|
2144
2145
|
delegate: boolean;
|
|
2145
2146
|
}
|
|
2146
2147
|
//#endregion
|
|
2147
|
-
//#region ../../../node_modules/.pnpm/@typescript-eslint+types@8.58.
|
|
2148
|
+
//#region ../../../node_modules/.pnpm/@typescript-eslint+types@8.58.1/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts
|
|
2148
2149
|
declare module './generated/ast-spec' {
|
|
2149
2150
|
interface BaseNode {
|
|
2150
2151
|
parent: Node;
|
package/dist/index.js
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import * as core from "@eslint-react/core";
|
|
2
|
-
import {
|
|
2
|
+
import { getSettingsFromContext } from "@eslint-react/shared";
|
|
3
3
|
import { kebabCase } from "string-ts";
|
|
4
4
|
import { ulid } from "ulid";
|
|
5
|
+
import { merge } from "@eslint-react/eslint";
|
|
5
6
|
|
|
6
7
|
//#region package.json
|
|
7
8
|
var name = "@eslint-react/kit";
|
|
8
|
-
var version = "5.0
|
|
9
|
+
var version = "5.1.0-beta.1";
|
|
9
10
|
|
|
10
11
|
//#endregion
|
|
11
12
|
//#region src/index.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/kit",
|
|
3
|
-
"version": "5.0
|
|
3
|
+
"version": "5.1.0-beta.1",
|
|
4
4
|
"description": "ESLint React's utility module for building custom React rules with JavasSript functions.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"repository": {
|
|
16
16
|
"type": "git",
|
|
17
17
|
"url": "git+https://github.com/Rel1cx/eslint-react.git",
|
|
18
|
-
"directory": "packages/
|
|
18
|
+
"directory": "packages/@eslint-react/kit"
|
|
19
19
|
},
|
|
20
20
|
"license": "MIT",
|
|
21
21
|
"author": "Rel1cx",
|
|
@@ -36,12 +36,13 @@
|
|
|
36
36
|
"./package.json"
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@typescript-eslint/utils": "^8.58.
|
|
39
|
+
"@typescript-eslint/utils": "^8.58.1",
|
|
40
40
|
"string-ts": "^2.3.1",
|
|
41
41
|
"ulid": "^3.0.2",
|
|
42
|
-
"@eslint-react/ast": "5.0
|
|
43
|
-
"@eslint-react/
|
|
44
|
-
"@eslint-react/
|
|
42
|
+
"@eslint-react/ast": "5.1.0-beta.1",
|
|
43
|
+
"@eslint-react/shared": "5.1.0-beta.1",
|
|
44
|
+
"@eslint-react/eslint": "5.1.0-beta.1",
|
|
45
|
+
"@eslint-react/core": "5.1.0-beta.1"
|
|
45
46
|
},
|
|
46
47
|
"devDependencies": {
|
|
47
48
|
"eslint": "^10.2.0",
|