Skip to content

Commit

Permalink
chore: suppress ESLint warnings (#959)
Browse files Browse the repository at this point in the history
  • Loading branch information
ybiquitous authored Jan 6, 2025
1 parent 8df03d3 commit 9b3f188
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/buildPullRequestBody.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ const detail = ({ severity, title, url }) => {
* @param {string} npmVersion
* @returns {string}
*/
// eslint-disable-next-line max-lines-per-function, max-statements
export default function buildPullRequestBody(report, npmVersion) {
const header = [];
header.push("| Package | Version | Source | Detail |");
Expand Down
1 change: 1 addition & 0 deletions lib/createOrUpdatePullRequest.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import splitRepo from "./utils/splitRepo.js";
* assignees: string[],
* }} params
*/
// eslint-disable-next-line max-lines-per-function, max-statements
export default async function createOrUpdatePullRequest({
token,
branch,
Expand Down
1 change: 1 addition & 0 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ function getFromEnv(name) {
throw new Error(`Not found '${name}' in the environment variables`);
}

// eslint-disable-next-line max-lines-per-function
async function run() {
core.info(`Running on Node.js ${process.version}`);
core.addPath(process.execPath.replace(/\/node$/u, ""));
Expand Down

0 comments on commit 9b3f188

Please sign in to comment.