Skip to content

Commit

Permalink
Replace @typescript-eslint/experimental-utils with `@typescript-esl…
Browse files Browse the repository at this point in the history
…int/utils`.
  • Loading branch information
epaew committed Nov 3, 2022
1 parent 4461328 commit 0b056cb
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 12 deletions.
2 changes: 1 addition & 1 deletion __tests__/rules/typescript-module-declaration.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import path from 'path';

import { TSESLint } from '@typescript-eslint/experimental-utils';
import { TSESLint } from '@typescript-eslint/utils';

import { typescriptModuleDeclaration } from '#/rules/typescript-module-declaration';

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@
"@types/node": "^18.11.8",
"@types/pluralize": "^0.0.29",
"@typescript-eslint/eslint-plugin": "^5.42.0",
"@typescript-eslint/experimental-utils": "^5.42.0",
"@typescript-eslint/parser": "^5.42.0",
"@typescript-eslint/utils": "^5.42.0",
"eslint": "^8.26.0",
"eslint-config-prettier": "^8.3.0",
"eslint-import-resolver-typescript": "^3.5.2",
Expand Down
2 changes: 1 addition & 1 deletion src/rules/named-export.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import path from 'path';

import { TSESTree } from '@typescript-eslint/experimental-utils';
import { TSESTree } from '@typescript-eslint/utils';
import { Rule } from 'eslint';
import { ExportNamedDeclaration, Identifier } from 'estree';

Expand Down
2 changes: 1 addition & 1 deletion src/rules/typescript-module-declaration.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import path from 'path';

import { TSESLint, TSESTree } from '@typescript-eslint/experimental-utils';
import { TSESLint, TSESTree } from '@typescript-eslint/utils';
import { Rule } from 'eslint';

const compareFilenameAndModuleName = (filename: string, moduleName: string): boolean =>
Expand Down
9 changes: 1 addition & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -823,13 +823,6 @@
semver "^7.3.7"
tsutils "^3.21.0"

"@typescript-eslint/experimental-utils@^5.42.0":
version "5.42.0"
resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-5.42.0.tgz#a2b6b24c75bf41ce22501f8669082efdac689909"
integrity sha512-B51HySW9wWIwLantEMqJi0FXVp1IMKRAyNASrYhJV3/nl4r6aEz6FJTJtscgu7YrGWigs7OypQExmcVqGQoDFQ==
dependencies:
"@typescript-eslint/utils" "5.42.0"

"@typescript-eslint/parser@^5.42.0":
version "5.42.0"
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.42.0.tgz#be0ffbe279e1320e3d15e2ef0ad19262f59e9240"
Expand Down Expand Up @@ -876,7 +869,7 @@
semver "^7.3.7"
tsutils "^3.21.0"

"@typescript-eslint/utils@5.42.0":
"@typescript-eslint/utils@5.42.0", "@typescript-eslint/utils@^5.42.0":
version "5.42.0"
resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.42.0.tgz#f06bd43b9a9a06ed8f29600273240e84a53f2f15"
integrity sha512-JZ++3+h1vbeG1NUECXQZE3hg0kias9kOtcQr3+JVQ3whnjvKuMyktJAAIj6743OeNPnGBmjj7KEmiDL7qsdnCQ==
Expand Down

0 comments on commit 0b056cb

Please sign in to comment.