From 8a3009d5fe64a561b9cd102863d59fed3e0ea867 Mon Sep 17 00:00:00 2001 From: EthanThatOneKid <31261035+EthanThatOneKid@users.noreply.github.com> Date: Mon, 22 Apr 2024 11:49:01 -0700 Subject: [PATCH] readme: update contributing section --- README.md | 8 +++++++- deno.jsonc | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) 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": {