Skip to content
This repository was archived by the owner on Jan 19, 2019. It is now read-only.

Commit 99c2f0e

Browse files
committed
Upgrade: typescript-estree to 5
1 parent 5d49243 commit 99c2f0e

File tree

4 files changed

+4
-10
lines changed

4 files changed

+4
-10
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"dependencies": {
5252
"eslint": "4.19.1",
5353
"eslint-visitor-keys": "^1.0.0",
54-
"typescript-estree": "2.1.0"
54+
"typescript-estree": "^5.0.0"
5555
},
5656
"peerDependencies": {
5757
"typescript": "*"

tests/lib/comments.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,7 @@ describe("Comments", () => {
4040
range: true,
4141
tokens: true,
4242
comment: true,
43-
ecmaFeatures: {
44-
jsx: true
45-
}
43+
jsx: true
4644
};
4745
test(`fixtures/${filename}.src`, testUtils.createSnapshotTestBlock(code, config));
4846
});

tests/lib/jsx.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,7 @@ describe("JSX", () => {
6161
tokens: true,
6262
errorOnUnknownASTType: true,
6363
useJSXTextNode,
64-
ecmaFeatures: {
65-
jsx: true
66-
}
64+
jsx: true
6765
};
6866

6967
test(`fixtures/${filename}.src`, testUtils.createSnapshotTestBlock(code, config));

tests/lib/tsx.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,7 @@ describe("TSX", () => {
4141
tokens: true,
4242
errorOnUnknownASTType: true,
4343
useJSXTextNode: true,
44-
ecmaFeatures: {
45-
jsx: true
46-
}
44+
jsx: true
4745
};
4846
test(`fixtures/${filename}.src`, testUtils.createSnapshotTestBlock(code, config));
4947
});

0 commit comments

Comments
 (0)