From 62558fcd620228018a3ae0feddcac94f0b2a08dc Mon Sep 17 00:00:00 2001 From: muno92 Date: Tue, 11 Aug 2026 20:30:16 +0900 Subject: [PATCH 1/2] Bump TypeScript to 6 --- package-lock.json | 22 ++++------------------ package.json | 2 +- tsconfig.json | 3 ++- 3 files changed, 7 insertions(+), 20 deletions(-) diff --git a/package-lock.json b/package-lock.json index 756d6a0c..9d3ec410 100644 --- a/package-lock.json +++ b/package-lock.json @@ -24,7 +24,7 @@ "globals": "^17.0.0", "js-yaml": "^5.0.0", "prettier": "3.9.6", - "typescript": "^5.0.0" + "typescript": "^6.0.0" } }, "node_modules/@actions/core": { @@ -1881,20 +1881,6 @@ "semver": "bin/semver.js" } }, - "node_modules/eslint-plugin-github/node_modules/typescript": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-6.0.3.tgz", - "integrity": "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==", - "dev": true, - "license": "Apache-2.0", - "bin": { - "tsc": "bin/tsc", - "tsserver": "bin/tsserver" - }, - "engines": { - "node": ">=14.17" - } - }, "node_modules/eslint-plugin-i18n-text": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/eslint-plugin-i18n-text/-/eslint-plugin-i18n-text-1.0.1.tgz", @@ -4112,9 +4098,9 @@ } }, "node_modules/typescript": { - "version": "5.9.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz", - "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==", + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-6.0.3.tgz", + "integrity": "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==", "dev": true, "license": "Apache-2.0", "peer": true, diff --git a/package.json b/package.json index 4d5ebfe8..5b7ec132 100644 --- a/package.json +++ b/package.json @@ -40,6 +40,6 @@ "globals": "^17.0.0", "js-yaml": "^5.0.0", "prettier": "3.9.6", - "typescript": "^5.0.0" + "typescript": "^6.0.0" } } diff --git a/tsconfig.json b/tsconfig.json index b83f55a5..1b3ce08a 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -7,7 +7,8 @@ "strict": true, /* Enable all strict type-checking options. */ "noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */ "esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ - "resolveJsonModule": true + "resolveJsonModule": true, + "types": ["node"] }, "exclude": ["node_modules", "**/*.test.ts", "__tests__/**/*"] } From 36ab22b3d308d1b8e2bc532eb1f3e0558f7fe496 Mon Sep 17 00:00:00 2001 From: muno92 Date: Tue, 11 Aug 2026 20:38:47 +0900 Subject: [PATCH 2/2] Format --- src/issue.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/issue.ts b/src/issue.ts index 39b4b2f6..58be2991 100644 --- a/src/issue.ts +++ b/src/issue.ts @@ -17,8 +17,4 @@ export class Issue { export type GitHubSeverity = 'notice' | 'warning' | 'error' export type ReSharperSeverity = - | 'INFO' - | 'HINT' - | 'SUGGESTION' - | 'WARNING' - | 'ERROR' + 'INFO' | 'HINT' | 'SUGGESTION' | 'WARNING' | 'ERROR'