diff --git a/.eslintrc.json b/.eslintrc.json index c33a9f7b2d..82bed9de62 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -339,6 +339,11 @@ "name": "rxjs/operators", "filePattern": "^(?!.*/store/(sentry-config/sentry-config|seo/seo|core/messages/messages)\\.effects\\.ts$).*\\.effects\\.ts*$", "message": "The usage of \"tap\" in effects, if not related to 3rd party integrations, can usually be transformed properly into RxJS stream code." + }, + { + "name": "@typescript-eslint/experimental-utils", + "filePattern": ".*eslint-rules/.*", + "message": "Change to \"@typescript-eslint/utils\"." } ] ], diff --git a/eslint-rules/src/rules/no-formly-explicit-pseudo-type.ts b/eslint-rules/src/rules/no-formly-explicit-pseudo-type.ts index 9fc6d3cf75..0551b4839d 100644 --- a/eslint-rules/src/rules/no-formly-explicit-pseudo-type.ts +++ b/eslint-rules/src/rules/no-formly-explicit-pseudo-type.ts @@ -1,4 +1,4 @@ -import { AST_NODE_TYPES, TSESLint, TSESTree } from '@typescript-eslint/experimental-utils'; +import { AST_NODE_TYPES, TSESLint, TSESTree } from '@typescript-eslint/utils'; /** * Disallows explicitly prefixing formly field types with '#', diff --git a/eslint-rules/tests/no-formly-explicit-pseudo-type.spec.ts b/eslint-rules/tests/no-formly-explicit-pseudo-type.spec.ts index ae4f4e4d2e..98d88c2485 100644 --- a/eslint-rules/tests/no-formly-explicit-pseudo-type.spec.ts +++ b/eslint-rules/tests/no-formly-explicit-pseudo-type.spec.ts @@ -1,4 +1,4 @@ -import { AST_NODE_TYPES } from '@typescript-eslint/experimental-utils'; +import { AST_NODE_TYPES } from '@typescript-eslint/utils'; import { noFormlyExplicitPseudoTypeRule } from '../src/rules/no-formly-explicit-pseudo-type';