mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-24 06:35:10 +00:00
chore: enable noUncheckedSideEffectImports
(#28903)
This commit is contained in:
parent
3dc1bfcbd3
commit
06337da6a4
@ -2,6 +2,7 @@ import { createApp, createSSRApp, nextTick } from 'vue'
|
||||
import type { App } from 'vue'
|
||||
|
||||
// This file must be imported first as we set globalThis.$fetch via this import
|
||||
// @ts-expect-error virtual file
|
||||
import '#build/fetch.mjs'
|
||||
|
||||
import { applyPlugins, createNuxtApp } from './nuxt'
|
||||
@ -9,6 +10,7 @@ import type { CreateOptions } from './nuxt'
|
||||
|
||||
import { createError } from './composables/error'
|
||||
|
||||
// @ts-expect-error virtual file
|
||||
import '#build/css'
|
||||
// @ts-expect-error virtual file
|
||||
import plugins from '#build/plugins'
|
||||
|
@ -1,2 +1,4 @@
|
||||
// @ts-expect-error untyped css file
|
||||
import '@unocss/reset/tailwind.css'
|
||||
// @ts-expect-error untyped css file
|
||||
import 'uno.css'
|
||||
|
@ -14,6 +14,7 @@
|
||||
"strict": true,
|
||||
// TODO: enable noUncheckedIndexedAccess
|
||||
// "noUncheckedIndexedAccess": true,
|
||||
"noUncheckedSideEffectImports": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"noImplicitOverride": true,
|
||||
/* If NOT transpiling with TypeScript: */
|
||||
|
Loading…
Reference in New Issue
Block a user