Skip to content

Commit 7f1867b

Browse files
committed
fix: import TS utils from correct package
1 parent f64441b commit 7f1867b

File tree

4 files changed

+173
-158
lines changed

4 files changed

+173
-158
lines changed

.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ module.exports = {
3939
'node/no-unsupported-features/es-builtins': 'error',
4040
'import/no-commonjs': 'error',
4141
'import/no-unused-modules': 'error',
42+
'import/no-extraneous-dependencies': 'error',
4243
},
4344
overrides: [
4445
{

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@
3737
"typecheck": "tsc -p ."
3838
},
3939
"dependencies": {
40-
"@typescript-eslint/experimental-utils": "^1.13.0",
41-
"typescript": "^3.5.3"
40+
"@typescript-eslint/experimental-utils": "^1.13.0"
4241
},
4342
"devDependencies": {
4443
"@babel/cli": "^7.4.4",
@@ -66,7 +65,8 @@
6665
"lint-staged": "^8.0.4",
6766
"prettier": "^1.10.2",
6867
"prettylint": "^1.0.0",
69-
"rimraf": "^2.6.3"
68+
"rimraf": "^2.6.3",
69+
"typescript": "^3.5.3"
7070
},
7171
"prettier": {
7272
"proseWrap": "always",

src/rules/valid-describe.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
import { AST_NODE_TYPES, TSESTree } from '@typescript-eslint/typescript-estree';
1+
import {
2+
AST_NODE_TYPES,
3+
TSESTree,
4+
} from '@typescript-eslint/experimental-utils';
25
import {
36
FunctionExpression,
47
JestFunctionCallExpression,

0 commit comments

Comments
 (0)