Skip to content

Commit

Permalink
chore: fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
BobbieGoede committed Sep 18, 2024
1 parent 0af22bb commit 2da820a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/nitro.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ export async function setupNitro(

// install server resource transform plugin for yaml / json5 format
nitroConfig.rollupConfig = nitroConfig.rollupConfig || {}

// eslint-disable-next-line @typescript-eslint/no-floating-promises -- FIXME
nitroConfig.rollupConfig.plugins = (await nitroConfig.rollupConfig.plugins) || []

// eslint-disable-next-line @typescript-eslint/no-floating-promises -- FIXME
nitroConfig.rollupConfig.plugins = Array.isArray(nitroConfig.rollupConfig.plugins)
? nitroConfig.rollupConfig.plugins
: [nitroConfig.rollupConfig.plugins]
Expand Down
2 changes: 1 addition & 1 deletion src/runtime/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ export async function navigate(
}

// TODO: resolve type errors for nuxt context extensions
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment

redirectPath = nuxtApp.$localePath(redirectPath, locale)
__DEBUG__ && logger.log('rootRedirect mode', { redirectPath, status })
return _navigate(redirectPath, status)
Expand Down

0 comments on commit 2da820a

Please sign in to comment.