Add camelcase check

This commit is contained in:
Luc Perkins 2024-04-24 11:09:48 -03:00
parent 86cdba7a6e
commit b87931b2dd
No known key found for this signature in database
GPG key ID: 16DB1108FB591835
4 changed files with 4 additions and 1 deletions

View file

@ -33,7 +33,7 @@
"@typescript-eslint/array-type": "error", "@typescript-eslint/array-type": "error",
"@typescript-eslint/await-thenable": "error", "@typescript-eslint/await-thenable": "error",
"@typescript-eslint/ban-ts-comment": "error", "@typescript-eslint/ban-ts-comment": "error",
"camelcase": "off", "camelcase": "error",
"@typescript-eslint/consistent-type-assertions": "error", "@typescript-eslint/consistent-type-assertions": "error",
"@typescript-eslint/explicit-function-return-type": [ "@typescript-eslint/explicit-function-return-type": [
"error", "error",

1
dist/index.js generated vendored
View file

@ -98373,6 +98373,7 @@ class NixInstallerAction {
const jobs = await octokit.paginate(octokit.rest.actions.listJobsForWorkflowRun, { const jobs = await octokit.paginate(octokit.rest.actions.listJobsForWorkflowRun, {
owner: github.context.repo.owner, owner: github.context.repo.owner,
repo: github.context.repo.repo, repo: github.context.repo.repo,
/* eslint-disable camelcase */
run_id: github.context.runId, run_id: github.context.runId,
}); });
core.debug(`awaited jobs: ${jobs}`); core.debug(`awaited jobs: ${jobs}`);

1
dist/main.js generated vendored
View file

@ -709,6 +709,7 @@ class NixInstallerAction {
const jobs = await octokit.paginate(octokit.rest.actions.listJobsForWorkflowRun, { const jobs = await octokit.paginate(octokit.rest.actions.listJobsForWorkflowRun, {
owner: github.context.repo.owner, owner: github.context.repo.owner,
repo: github.context.repo.repo, repo: github.context.repo.repo,
/* eslint-disable camelcase */
run_id: github.context.runId, run_id: github.context.runId,
}); });
actionsCore.debug(`awaited jobs: ${jobs}`); actionsCore.debug(`awaited jobs: ${jobs}`);

View file

@ -908,6 +908,7 @@ class NixInstallerAction {
{ {
owner: github.context.repo.owner, owner: github.context.repo.owner,
repo: github.context.repo.repo, repo: github.context.repo.repo,
/* eslint-disable camelcase */
run_id: github.context.runId, run_id: github.context.runId,
}, },
); );