From b87931b2dda7990ab23d5983978208026bf1b566 Mon Sep 17 00:00:00 2001 From: Luc Perkins Date: Wed, 24 Apr 2024 11:09:48 -0300 Subject: [PATCH] Add camelcase check --- .eslintrc.json | 2 +- dist/index.js | 1 + dist/main.js | 1 + src/main.ts | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.eslintrc.json b/.eslintrc.json index 3e73697..6499d3b 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -33,7 +33,7 @@ "@typescript-eslint/array-type": "error", "@typescript-eslint/await-thenable": "error", "@typescript-eslint/ban-ts-comment": "error", - "camelcase": "off", + "camelcase": "error", "@typescript-eslint/consistent-type-assertions": "error", "@typescript-eslint/explicit-function-return-type": [ "error", diff --git a/dist/index.js b/dist/index.js index fd5bb51..19d5fc2 100644 --- a/dist/index.js +++ b/dist/index.js @@ -98373,6 +98373,7 @@ class NixInstallerAction { const jobs = await octokit.paginate(octokit.rest.actions.listJobsForWorkflowRun, { owner: github.context.repo.owner, repo: github.context.repo.repo, + /* eslint-disable camelcase */ run_id: github.context.runId, }); core.debug(`awaited jobs: ${jobs}`); diff --git a/dist/main.js b/dist/main.js index 6c18d68..e3726fb 100644 --- a/dist/main.js +++ b/dist/main.js @@ -709,6 +709,7 @@ class NixInstallerAction { const jobs = await octokit.paginate(octokit.rest.actions.listJobsForWorkflowRun, { owner: github.context.repo.owner, repo: github.context.repo.repo, + /* eslint-disable camelcase */ run_id: github.context.runId, }); actionsCore.debug(`awaited jobs: ${jobs}`); diff --git a/src/main.ts b/src/main.ts index 69e5d53..4619072 100644 --- a/src/main.ts +++ b/src/main.ts @@ -908,6 +908,7 @@ class NixInstallerAction { { owner: github.context.repo.owner, repo: github.context.repo.repo, + /* eslint-disable camelcase */ run_id: github.context.runId, }, );