feat(init.ts): enable lint rules for fresh apps (#1434)
This commit is contained in:
@@ -509,6 +509,11 @@ const config = {
|
|||||||
start: "deno run -A --watch=static/,routes/ dev.ts",
|
start: "deno run -A --watch=static/,routes/ dev.ts",
|
||||||
update: "deno run -A -r https://fresh.deno.dev/update .",
|
update: "deno run -A -r https://fresh.deno.dev/update .",
|
||||||
},
|
},
|
||||||
|
lint: {
|
||||||
|
rules: {
|
||||||
|
tags: ["fresh", "recommended"],
|
||||||
|
},
|
||||||
|
},
|
||||||
imports: {} as Record<string, string>,
|
imports: {} as Record<string, string>,
|
||||||
compilerOptions: {
|
compilerOptions: {
|
||||||
jsx: "react-jsx",
|
jsx: "react-jsx",
|
||||||
|
|||||||
Reference in New Issue
Block a user