Skip to content

Commit

Permalink
Merge pull request #189 from Automattic/ts5.3
Browse files Browse the repository at this point in the history
feat: add support for TypeScript 5.3
  • Loading branch information
sjinks authored Nov 27, 2023
2 parents a9c6a2e + d9d2985 commit 680e584
Show file tree
Hide file tree
Showing 3 changed files with 153 additions and 140 deletions.
17 changes: 15 additions & 2 deletions __tests__/__snapshots__/check-fixtures.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -360,11 +360,24 @@ import { unusedEs6Import } from './stub/unusedEs6Import';
"endColumn": 14,
"endLine": 8,
"line": 8,
"message": "Do not use "@ts-ignore" because it alters compilation errors.",
"messageId": "tsDirectiveComment",
"message": "Use "@ts-expect-error" instead of "@ts-ignore", as "@ts-ignore" will do nothing if the following line is error-free.",
"messageId": "tsIgnoreInsteadOfExpectError",
"nodeType": "Line",
"ruleId": "@typescript-eslint/ban-ts-comment",
"severity": 2,
"suggestions": [
{
"desc": "Replace "@ts-ignore" with "@ts-expect-error".",
"fix": {
"range": [
192,
205,
],
"text": "// @ts-expect-error",
},
"messageId": "replaceTsIgnoreWithTsExpectError",
},
],
},
{
"column": 1,
Expand Down
Loading

0 comments on commit 680e584

Please sign in to comment.