style: format tsconfig

This commit is contained in:
DuroCodes
2025-09-08 11:12:29 -04:00
parent df279436aa
commit 963d6313a9
2 changed files with 18 additions and 5 deletions

View File

@@ -33,7 +33,7 @@ export function MonacoEditor() {
.map(([key, value]) => value.theme ?? key); .map(([key, value]) => value.theme ?? key);
LANGUAGE_NAMES.forEach((l) => monaco.languages.register({ id: l })); LANGUAGE_NAMES.forEach((l) => monaco.languages.register({ id: l }));
const highlighter = await createHighlighter({ const highlighter = await createHighlighter({
themes: [currentTheme, ...restThemes], themes: [currentTheme, ...restThemes],
langs: LANGUAGES, langs: LANGUAGES,

View File

@@ -1,7 +1,11 @@
{ {
"compilerOptions": { "compilerOptions": {
"target": "ES2017", "target": "ES2017",
"lib": ["dom", "dom.iterable", "esnext"], "lib": [
"dom",
"dom.iterable",
"esnext"
],
"allowJs": true, "allowJs": true,
"skipLibCheck": true, "skipLibCheck": true,
"strict": true, "strict": true,
@@ -19,9 +23,18 @@
} }
], ],
"paths": { "paths": {
"~/*": ["./src/*"] "~/*": [
"./src/*"
]
} }
}, },
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], "include": [
"exclude": ["node_modules"] "next-env.d.ts",
"**/*.ts",
"**/*.tsx",
".next/types/**/*.ts"
],
"exclude": [
"node_modules"
]
} }