Skip to content

Commit

Permalink
Reverted inlines too
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaKGoldberg committed Mar 18, 2024
1 parent 3075bd6 commit 2758b09
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions packages/repo-tools/src/postinstall.mts
Expand Up @@ -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> {
void (async function (): Promise<void> {
// make sure we're running from the workspace root
const {
default: { workspaceRoot },
Expand Down
3 changes: 1 addition & 2 deletions packages/rule-tester/src/utils/config-validator.ts
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/website/src/hooks/useClipboard.ts
Expand Up @@ -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]);
Expand Down

0 comments on commit 2758b09

Please sign in to comment.