diff --git a/packages/repo-tools/src/postinstall.mts b/packages/repo-tools/src/postinstall.mts index b89cb17cc86..5facbf0defc 100644 --- a/packages/repo-tools/src/postinstall.mts +++ b/packages/repo-tools/src/postinstall.mts @@ -20,8 +20,7 @@ if (process.env.SKIP_POSTINSTALL) { process.exit(0); } -// eslint-disable-next-line @typescript-eslint/no-floating-promises -(async function (): Promise { +void (async function (): Promise { // make sure we're running from the workspace root const { default: { workspaceRoot }, diff --git a/packages/rule-tester/src/utils/config-validator.ts b/packages/rule-tester/src/utils/config-validator.ts index ff616a0e57d..ac90b8c21ee 100644 --- a/packages/rule-tester/src/utils/config-validator.ts +++ b/packages/rule-tester/src/utils/config-validator.ts @@ -78,8 +78,7 @@ function validateRuleSchema( const validateRule = ruleValidators.get(rule); if (validateRule) { - // eslint-disable-next-line @typescript-eslint/no-floating-promises - validateRule(localOptions); + void validateRule(localOptions); if (validateRule.errors) { throw new Error( validateRule.errors diff --git a/packages/website/src/hooks/useClipboard.ts b/packages/website/src/hooks/useClipboard.ts index d8191784f8e..0a98af33b91 100644 --- a/packages/website/src/hooks/useClipboard.ts +++ b/packages/website/src/hooks/useClipboard.ts @@ -9,7 +9,7 @@ export function useClipboard(code: () => string): useClipboardResult { const copy = useCallback(() => { // eslint-disable-next-line @typescript-eslint/no-floating-promises - navigator.clipboard.writeText(code()).then(() => { + void navigator.clipboard.writeText(code()).then(() => { setCopied(true); }); }, [setCopied, code]);