i love deno-fmt

This commit is contained in:
laura 2025-11-01 23:05:48 -03:00
parent 5197e3316d
commit 995161f491
Signed by: w
GPG key ID: BCD2117C99E69817
9 changed files with 435 additions and 430 deletions

View file

@ -5,6 +5,10 @@
"imports": { "imports": {
"interest/jsx-runtime": "./src/jsx.ts" "interest/jsx-runtime": "./src/jsx.ts"
}, },
"fmt": {
"useTabs": true,
"semiColons": true
},
"lint": { "lint": {
"rules": { "rules": {
"tags": [ "tags": [

View file

@ -7,6 +7,7 @@ import { close, open } from "interest/jsx-runtime";
async function* Fruits() { async function* Fruits() {
const fruits = ["TSX", "Apple", "Banana", "Cherry"]; const fruits = ["TSX", "Apple", "Banana", "Cherry"];
yield open("ol"); yield open("ol");
for (const fruit of fruits) { for (const fruit of fruits) {
await new Promise((r) => setTimeout(r, 500)); await new Promise((r) => setTimeout(r, 500));