diff --git a/README.md b/README.md index 8583f4c..c62892c 100644 --- a/README.md +++ b/README.md @@ -88,9 +88,15 @@ deno task serve Format the project: +```sh +deno fmt +``` + +Check for common errors: + ```sh deno lint -deno check main.tsx +deno task check ``` ## References diff --git a/deno.jsonc b/deno.jsonc index da0f982..f44859c 100644 --- a/deno.jsonc +++ b/deno.jsonc @@ -1,12 +1,12 @@ { "tasks": { "build": "deno run -A main.tsx", + "check": "deno check main.tsx", "dev": "deno run -A --watch main.tsx", "serve": "deno run -A https://deno.land/std/http/file_server.ts build" }, "compilerOptions": { "jsx": "react-jsx", - "jsxFactory": "h", "jsxImportSource": "nano_jsx" }, "imports": {