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