Skip to content

Commit 5072579

Browse files
authored
Merge pull request #5 from lukahartwig/use-non-experimental-typescript-eslint-utils-package
Replace experimental package with stable version
2 parents bf795cf + 1b8a29c commit 5072579

16 files changed

+57
-57
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"README.md"
3030
],
3131
"dependencies": {
32-
"@typescript-eslint/experimental-utils": "^5.9.0",
32+
"@typescript-eslint/utils": "^5.10.0",
3333
"is-html": "^2.0.0",
3434
"jsx-ast-utils": "^3.2.0",
3535
"kebab-case": "^1.0.1",

src/rules/jsx-no-undef.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { TSESTree as T, TSESLint } from "@typescript-eslint/experimental-utils";
1+
import type { TSESTree as T, TSESLint } from "@typescript-eslint/utils";
22
import { isDOMElementName, formatList, getCommentBefore } from "../utils";
33

44
// Currently all of the control flow components are from 'solid-js'.

src/rules/jsx-uses-vars.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { TSESTree as T, TSESLint } from "@typescript-eslint/experimental-utils";
1+
import type { TSESTree as T, TSESLint } from "@typescript-eslint/utils";
22

33
/*
44
* This rule is lifted almost verbatim from eslint-plugin-react's

src/rules/no-destructure.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { TSESTree as T, TSESLint, ASTUtils } from "@typescript-eslint/experimental-utils";
1+
import { TSESTree as T, TSESLint, ASTUtils } from "@typescript-eslint/utils";
22
import type { FunctionNode } from "../utils";
33

44
const { getStringIfConstant } = ASTUtils;

src/rules/no-innerhtml.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { TSESLint, ASTUtils } from "@typescript-eslint/experimental-utils";
1+
import { TSESLint, ASTUtils } from "@typescript-eslint/utils";
22
import { propName } from "jsx-ast-utils";
33
import isHtml from "is-html";
44

src/rules/no-react-specific-props.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { TSESLint } from "@typescript-eslint/experimental-utils";
1+
import type { TSESLint } from "@typescript-eslint/utils";
22
import { getProp, hasProp } from "jsx-ast-utils";
33

44
const reactSpecificProps = [

src/rules/no-unknown-namespaces.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { TSESLint, TSESTree as T } from "@typescript-eslint/experimental-utils";
1+
import type { TSESLint, TSESTree as T } from "@typescript-eslint/utils";
22

33
const knownNamespaces = ["on", "oncapture", "use", "prop", "attr"];
44
const styleNamespaces = ["style", "class"];

src/rules/prefer-classlist.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { TSESLint, TSESTree as T } from "@typescript-eslint/experimental-utils";
1+
import type { TSESLint, TSESTree as T } from "@typescript-eslint/utils";
22
import { hasProp, propName } from "jsx-ast-utils";
33

44
const rule: TSESLint.RuleModule<"preferClasslist", [{ classnames?: [string, ...Array<string>] }?]> =

src/rules/prefer-for.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { TSESLint, TSESTree as T, ASTUtils } from "@typescript-eslint/experimental-utils";
1+
import { TSESLint, TSESTree as T, ASTUtils } from "@typescript-eslint/utils";
22
import { isFunctionNode } from "../utils";
33

44
const { getPropertyName } = ASTUtils;

src/rules/reactivity.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @link https://github.com/joshwilsonvu/eslint-plugin-solid/blob/main/docs/reactivity.md
44
*/
55

6-
import { TSESTree as T, TSESLint, ASTUtils } from "@typescript-eslint/experimental-utils";
6+
import { TSESTree as T, TSESLint, ASTUtils } from "@typescript-eslint/utils";
77
import {
88
findParent,
99
findInScope,

0 commit comments

Comments
 (0)