From 3fce97a6d23b8117df9be8e762de44a7ba6d11f0 Mon Sep 17 00:00:00 2001 From: Elliot DeNolf Date: Fri, 6 Oct 2023 17:16:13 -0400 Subject: [PATCH] chore: misc eslint --- package.json | 2 +- test/.eslintrc.cjs | 1 + test/dev.ts | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index cef5546694..0b3518fdc4 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "lint-staged": "lint-staged", "pretest": "pnpm build", "reinstall": "./scripts/reinstall.sh", - "release:list:beta": "./scripts/list_published_packages.sh beta", + "list:packages": "./scripts/list_published_packages.sh beta", "script:release:beta": "./scripts/release_beta.sh", "test": "pnpm test:int && pnpm test:components && pnpm test:e2e", "test:components": "cross-env jest --config=jest.components.config.js", diff --git a/test/.eslintrc.cjs b/test/.eslintrc.cjs index cbda3d2e75..0cc52e7e64 100644 --- a/test/.eslintrc.cjs +++ b/test/.eslintrc.cjs @@ -26,6 +26,7 @@ module.exports = { '@typescript-eslint/no-use-before-define': 'off', // turn the @typescript-eslint/unbound-method rule off *only* for test files. See https://typescript-eslint.io/rules/unbound-method/#when-not-to-use-it '@typescript-eslint/unbound-method': 'off', + 'no-console': 'off', 'perfectionist/sort-objects': 'off', }, }, diff --git a/test/dev.ts b/test/dev.ts index 67e5c691a1..be78e94ef0 100644 --- a/test/dev.ts +++ b/test/dev.ts @@ -84,4 +84,5 @@ const startDev = async () => { }) } +// eslint-disable-next-line @typescript-eslint/no-floating-promises startDev()