Skip to content

Commit

Permalink
chore(eslint): change imports from experimental-utils to utils
Browse files Browse the repository at this point in the history
  • Loading branch information
dhhyi authored and shauke committed Mar 31, 2022
1 parent ed79264 commit 53504eb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -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\"."
}
]
],
Expand Down
2 changes: 1 addition & 1 deletion eslint-rules/src/rules/no-formly-explicit-pseudo-type.ts
Original file line number Diff line number Diff line change
@@ -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 '#',
Expand Down
2 changes: 1 addition & 1 deletion eslint-rules/tests/no-formly-explicit-pseudo-type.spec.ts
Original file line number Diff line number Diff line change
@@ -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';

Expand Down

1 comment on commit 53504eb

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Azure Demo Servers are available:

Please sign in to comment.