feat(init.ts): enable lint rules for fresh apps (#1434)

This commit is contained in:
Yuki Tanaka
2023-07-09 10:11:36 +02:00
committed by GitHub
parent 292b4c2d6f
commit 37f1618004
+5
View File
@@ -509,6 +509,11 @@ const config = {
start: "deno run -A --watch=static/,routes/ dev.ts",
update: "deno run -A -r https://fresh.deno.dev/update .",
},
lint: {
rules: {
tags: ["fresh", "recommended"],
},
},
imports: {} as Record<string, string>,
compilerOptions: {
jsx: "react-jsx",