From 0240c3dd0339bb42f0370b2e3adf008221264e9d Mon Sep 17 00:00:00 2001 From: Tom Keller Date: Thu, 27 Oct 2022 17:09:26 -0700 Subject: [PATCH] chore: fix lint errors --- .eslintrc.yml | 9 +++++++++ test/index.test.ts | 1 - 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.eslintrc.yml b/.eslintrc.yml index 261f22b..f516d35 100644 --- a/.eslintrc.yml +++ b/.eslintrc.yml @@ -60,6 +60,15 @@ overrides: extends: - plugin:@typescript-eslint/recommended rules: + no-unused-vars: + - off + '@typescript-eslint/no-unused-vars': + - error + - varsIgnorePattern: '^_' + argsIgnorePattern: '^_' + caughtErrorsIgnorePattern: '^_' + '@typescript-eslint/no-non-null-assertion': + - off '@typescript-eslint/no-require-imports': - error "@typescript-eslint/return-await": diff --git a/test/index.test.ts b/test/index.test.ts index 4ca0b8b..4597da4 100644 --- a/test/index.test.ts +++ b/test/index.test.ts @@ -1,4 +1,3 @@ -import assert from 'assert'; import * as core from '@actions/core'; import { AssumeRoleCommand,