pkgxdev / libpkgx

`import`… but with pkging powers
https://npmjs.com/libpkgx
Apache License 2.0
62 stars 11 forks source link

style: run deno fmt #41

Closed scarf005 closed 10 months ago

scarf005 commented 11 months ago

Summary

Description

  1. renamed deno.json to deno.jsonc to support comments inside configuration file.
  2. added following formatting options.
    "fmt": {
    "semiColons": false,
    "lineWidth": 100
    },
  3. applied the setting using deno fmt.
mxcl commented 11 months ago

Unfortunately IIRC there was a reason it had to be deno.json and not .jsonc. I think related to the dnt portion.

mxcl commented 10 months ago

Thanks, but this is pretty out of sync now so will close.

While I understand formatting is something a lot of engineers care about and thus somewhat I am willing to just “accept it”. For me forcing a set of formatting rules on programming turns it from poetry to instruction manuals.