From 41b792eb3195c6fa36dbc12afd0034c21d608b9d Mon Sep 17 00:00:00 2001 From: Arthur Rezende Date: Sat, 27 Jan 2024 11:34:54 -0300 Subject: [PATCH] style: apply new prettier config --- src/eslint/configs/typescript.ts | 2 +- src/eslint/index.ts | 4 ++-- src/eslint/utils.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/eslint/configs/typescript.ts b/src/eslint/configs/typescript.ts index d55f11e..5a40f11 100644 --- a/src/eslint/configs/typescript.ts +++ b/src/eslint/configs/typescript.ts @@ -8,7 +8,7 @@ import type { export async function typescript( options?: OptionsTypeScriptWithTypes & - OptionsTypeScriptParserOptions & { typeAwareRules?: boolean }, + OptionsTypeScriptParserOptions & { typeAwareRules?: boolean } ): Promise { const { parserOptions = {} } = options ?? {} diff --git a/src/eslint/index.ts b/src/eslint/index.ts index 52153b2..5f715b9 100644 --- a/src/eslint/index.ts +++ b/src/eslint/index.ts @@ -57,14 +57,14 @@ export async function verful( jsdoc(), unicorn(), node(), - unicorn(), + unicorn() ) if (enableTypescript) { configs.push( typescript({ ...(typeof enableTypescript !== 'boolean' ? enableTypescript : {}), - }), + }) ) } diff --git a/src/eslint/utils.ts b/src/eslint/utils.ts index 8708135..5489eaf 100644 --- a/src/eslint/utils.ts +++ b/src/eslint/utils.ts @@ -1,7 +1,7 @@ import type { Awaitable, UserConfigItem } from './types.js' export async function interopDefault( - m: Awaitable, + m: Awaitable ): Promise { const resolved = await m return (resolved as any).default || resolved