From bc9542741b9de1cd968fe4da392ad0de2c62f3ac Mon Sep 17 00:00:00 2001 From: "Alex M. - Clockwork" Date: Tue, 30 Jan 2024 10:44:09 +0200 Subject: [PATCH 1/3] test: test linting results --- src/utils/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/index.ts b/src/utils/index.ts index 389f40f..19d7c5e 100644 --- a/src/utils/index.ts +++ b/src/utils/index.ts @@ -3,5 +3,5 @@ export function toHexString(byteArray: ArrayLike) { .call(byteArray, function (byte) { return ('0' + (byte & 0xff).toString(16)).slice(-2); }) - .join(""); + .join(""); } From 0c0a30a75475cd6339fbce3fc84095bf0e454d7f Mon Sep 17 00:00:00 2001 From: Clockwork Date: Tue, 30 Jan 2024 10:45:14 +0200 Subject: [PATCH 2/3] Update src/utils/index.ts Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- src/utils/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/index.ts b/src/utils/index.ts index 19d7c5e..c4d56f8 100644 --- a/src/utils/index.ts +++ b/src/utils/index.ts @@ -1,7 +1,7 @@ export function toHexString(byteArray: ArrayLike) { return Array.prototype.map .call(byteArray, function (byte) { - return ('0' + (byte & 0xff).toString(16)).slice(-2); + return ("0" + (byte & 0xff).toString(16)).slice(-2); }) .join(""); } From beca3f06cc049da5541d36916303fedfe82a03c0 Mon Sep 17 00:00:00 2001 From: "Alex M. - Clockwork" Date: Tue, 30 Jan 2024 10:51:00 +0200 Subject: [PATCH 3/3] chore: Change linting action --- .github/workflows/lint.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index fb0ca7c..bab4b37 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -24,9 +24,7 @@ jobs: - name: Install dependencies run: pnpm install - name: Run eslint on changed files - uses: tj-actions/eslint-changed-files@v23 + uses: reviewdog/action-eslint@v1 with: - config_path: ".eslintrc.js" - ignore_path: ".gitignore" - file_extensions: './src/**/*.ts' - extra_args: "--max-warnings=0" + reporter: github-check + eslint_flags: " -c .eslintrc.js './src/**/*.ts' --max-warnings=0 --ignore-path .gitignore"