Skip to content

Commit 1dea921

Browse files
chore(deps): update typescript-eslint monorepo to v6 (major) (#537)
* chore(deps): update typescript-eslint monorepo to v6 * fix * fix --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: yosuke ota <[email protected]>
1 parent 55ca331 commit 1dea921

File tree

7 files changed

+554
-95
lines changed

7 files changed

+554
-95
lines changed

.eslintrc.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ module.exports = {
2121
"no-warning-comments": "warn",
2222
"no-lonely-if": "off",
2323
"@typescript-eslint/no-non-null-assertion": "off",
24-
"@typescript-eslint/no-duplicate-imports": "error",
2524

2625
"no-shadow": "off",
2726
"@typescript-eslint/no-shadow": "error",

lib/utils/type-tracker/jsdoc/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import type { Rule, SourceCode, AST } from "eslint"
22
import type * as ES from "estree"
33
import { isCommentToken } from "@eslint-community/eslint-utils"
44
import * as commentParser from "comment-parser"
5-
import type { Spec } from "comment-parser/lib/primitives"
5+
import type { Spec } from "comment-parser"
66
// @ts-expect-error -- no type
77
import * as jsdocTypeParser from "jsdoctypeparser"
88
import type { JSDocTypeNode } from "./jsdoctypeparser-ast"

lib/utils/type-tracker/type-data/union-or-intersection.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ export class TypeUnionOrIntersection implements ITypeClass {
8484
}
8585

8686
public typeNames(): string[] {
87-
// eslint-disable-next-line @typescript-eslint/require-array-sort-compare -- ignore
8887
return [...this.collection.strings()].sort()
8988
}
9089

package-lock.json

Lines changed: 547 additions & 88 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@
7070
"@types/estree": "^1.0.0",
7171
"@types/mocha": "^10.0.0",
7272
"@types/node": "^18.0.0",
73-
"@typescript-eslint/eslint-plugin": "^5.0.0",
74-
"@typescript-eslint/parser": "^5.0.0",
73+
"@typescript-eslint/eslint-plugin": "^6.0.0",
74+
"@typescript-eslint/parser": "^6.0.0",
7575
"assert": "^2.0.0",
7676
"chai": "^4.3.4",
7777
"env-cmd": "^10.1.0",
@@ -104,7 +104,7 @@
104104
"dependencies": {
105105
"@eslint-community/eslint-utils": "^4.2.0",
106106
"@eslint-community/regexpp": "^4.6.2",
107-
"comment-parser": "^1.1.2",
107+
"comment-parser": "^1.4.0",
108108
"grapheme-splitter": "^1.0.4",
109109
"jsdoctypeparser": "^9.0.0",
110110
"refa": "^0.11.0",

tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
22
"compilerOptions": {
33
"target": "es2015",
4-
"module": "commonjs",
4+
"module": "Node16",
5+
"moduleResolution": "Node16",
56
"lib": ["es2020"],
67
"allowJs": true,
78
"checkJs": true,

typings/comment-parser/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export * from "../../node_modules/comment-parser"

0 commit comments

Comments
 (0)