D
Deno

help

Deno fmt conflicting with Deno lint, when using IIFE

R!Roricchi 2.0『藤田の妻』1/29/2023
// before formating
((): void => { /* code */ })()
// before formating
((): void => { /* code */ })()
after formating with deno fmt, it adds an extra semicolon before the IIFE, but deno lint says Unnecessary semicolon. Remove the extra (and unnecessary) semi-colon deno-lint(no-extra-semi)
// after formatting
;((): void => { /* code */ })()
^// deno-lint(no-extra-semi)
// after formatting
;((): void => { /* code */ })()
^// deno-lint(no-extra-semi)
BBeast1/29/2023
the fix for that is use semicolons please I'm pretty sure it gets formatted like that just when you don't use semicolons
AAapoAlas1/29/2023
Please open an issue in denoland/deno repository.
R!Roricchi 2.0『藤田の妻』1/30/2023
yeah, with semicolons its fine yes ok

Looking for more? Join the community!

Recommended Posts
prototype dot functions. How?How would I go about creating dot function that can be chained at the end of a number in Deno? ExamRepublish a /x/ module from a deleted repoIs it possible to publish an old module from a new repo? i'v deleted an old one and created a new reHow to get Deno to fmt on save with VSCode?I have a deno.json file with some fmt options which works if run fromt the command line but not whenIntegrate Twin to Svelte+Vite+Deno as FreshIs there any way to integrate the use of Twind into the Stelte+Vite+Deno project as Fresh does? Thacan i render some pages as SPA and some as SSR in fresh?#fresh kanalına mesaj göndercan i render some pages as SPA and some as SSR in fresh? #fresh kanalına mesaj gönderHow can i return a base64 as file on Deno Deploy?Could someone give me an example for this?How to disable deno linter for whole project directory?I'm using deno with mixed project folders, some use Vue and shouldn't be linted by deno. How do i diHow can I get `npm` in the path for Deno.run()?I'm writing a script to automate a tedious npm task that I run frequently. When I use `Deno.run()` iUse Deno.run() to communicate with ArduinoHey I'm trying to communicate via USB serial with my Arduino. My goal is to have the result I get viBest place to host server side Deno AppI have a server side app I want to host in a specific region and I only want 1 instance of it runninNPM Import missing typesPlaying around with some deno code and testing a npm import, the original package has types (redaxioUpdate value by reference without duplicating the dataIm exploring the world of FFI, porting some C applications I have to TypeScript, with the help of De