stricter TypeScript configuration
This commit is contained in:
@ -16,6 +16,8 @@
|
|||||||
|
|
||||||
/* Linting */
|
/* Linting */
|
||||||
"strict": true,
|
"strict": true,
|
||||||
|
"forceConsistentCasingInFileNames": true,
|
||||||
|
"useDefineForClassFields": true,
|
||||||
"noUnusedLocals": true,
|
"noUnusedLocals": true,
|
||||||
"noUnusedParameters": true,
|
"noUnusedParameters": true,
|
||||||
"noFallthroughCasesInSwitch": true
|
"noFallthroughCasesInSwitch": true
|
||||||
|
|||||||
@ -6,5 +6,8 @@ export default defineConfig({
|
|||||||
// plugins: [mdPlugin(options)],
|
// plugins: [mdPlugin(options)],
|
||||||
build: {
|
build: {
|
||||||
chunkSizeWarningLimit: 1600
|
chunkSizeWarningLimit: 1600
|
||||||
|
},
|
||||||
|
preview: {
|
||||||
|
open: true
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
Reference in New Issue
Block a user