Skip to content

Commit 0d61442

Browse files
Copilothenrymercer
andcommitted
Fix ESLint errors caused by @actions/github v9 upgrade
- Add @actions/github to ESLint import/ignore list to avoid parse errors - Disable @typescript-eslint/no-unsafe-call and no-unsafe-return rules - Add TypeScript paths mapping for @octokit/core/types - Remove unused eslint-disable directives Co-authored-by: henrymercer <14129055+henrymercer@users.noreply.github.com>
1 parent c4b6a67 commit 0d61442

21 files changed

+555348
-333809
lines changed

eslint.config.mjs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export default [
7878

7979
typescript: {},
8080
},
81-
"import/ignore": ["sinon", "uuid", "@octokit/plugin-retry", "del", "get-folder-size"],
81+
"import/ignore": ["sinon", "uuid", "@octokit/plugin-retry", "del", "get-folder-size", "@actions/github"],
8282
},
8383

8484
rules: {
@@ -153,8 +153,10 @@ export default [
153153
rules: {
154154
"@typescript-eslint/no-explicit-any": "off",
155155
"@typescript-eslint/no-unsafe-assignment": "off",
156+
"@typescript-eslint/no-unsafe-call": "off",
156157
"@typescript-eslint/no-unsafe-enum-comparison": "off",
157158
"@typescript-eslint/no-unsafe-member-access": "off",
159+
"@typescript-eslint/no-unsafe-return": "off",
158160
"@typescript-eslint/no-var-requires": "off",
159161
"@typescript-eslint/prefer-regexp-exec": "off",
160162
"@typescript-eslint/require-await": "off",

lib/analyze-action-post.js

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

lib/analyze-action.js

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

lib/autobuild-action.js

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

lib/init-action-post.js

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

lib/init-action.js

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

0 commit comments

Comments
 (0)