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