Skip to content

Commit

Permalink
chore(deps): update typescript-eslint monorepo to v6 (major) (#537)
Browse files Browse the repository at this point in the history
* 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 <otameshiyo23@gmail.com>
  • Loading branch information
renovate[bot] and ota-meshi authored Aug 26, 2023
1 parent 55ca331 commit 1dea921
Show file tree
Hide file tree
Showing 7 changed files with 554 additions and 95 deletions.
1 change: 0 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ module.exports = {
"no-warning-comments": "warn",
"no-lonely-if": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-duplicate-imports": "error",

"no-shadow": "off",
"@typescript-eslint/no-shadow": "error",
Expand Down
2 changes: 1 addition & 1 deletion lib/utils/type-tracker/jsdoc/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { Rule, SourceCode, AST } from "eslint"
import type * as ES from "estree"
import { isCommentToken } from "@eslint-community/eslint-utils"
import * as commentParser from "comment-parser"
import type { Spec } from "comment-parser/lib/primitives"
import type { Spec } from "comment-parser"
// @ts-expect-error -- no type
import * as jsdocTypeParser from "jsdoctypeparser"
import type { JSDocTypeNode } from "./jsdoctypeparser-ast"
Expand Down
1 change: 0 additions & 1 deletion lib/utils/type-tracker/type-data/union-or-intersection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ export class TypeUnionOrIntersection implements ITypeClass {
}

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

Expand Down
635 changes: 547 additions & 88 deletions package-lock.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@
"@types/estree": "^1.0.0",
"@types/mocha": "^10.0.0",
"@types/node": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^5.0.0",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"assert": "^2.0.0",
"chai": "^4.3.4",
"env-cmd": "^10.1.0",
Expand Down Expand Up @@ -104,7 +104,7 @@
"dependencies": {
"@eslint-community/eslint-utils": "^4.2.0",
"@eslint-community/regexpp": "^4.6.2",
"comment-parser": "^1.1.2",
"comment-parser": "^1.4.0",
"grapheme-splitter": "^1.0.4",
"jsdoctypeparser": "^9.0.0",
"refa": "^0.11.0",
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"compilerOptions": {
"target": "es2015",
"module": "commonjs",
"module": "Node16",
"moduleResolution": "Node16",
"lib": ["es2020"],
"allowJs": true,
"checkJs": true,
Expand Down
1 change: 1 addition & 0 deletions typings/comment-parser/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from "../../node_modules/comment-parser"

0 comments on commit 1dea921

Please sign in to comment.