Tip: Install js-beautify and stylelint for the web module (issue reported by Doom doctor)

I was running doom doctor recently and got the following warnings:

    > :lang web
      ! Couldn't find stylelint. Linting for CSS modes will not work.
      ! Couldn't find js-beautify. Code formatting in JS/CSS/HTML modes will not work.

Looking through GitHub I found the recommendation to resolve these by installing the nodejs packages:

npm i -g stylelint js-beautify

Also since I use https://asdf-vm.com to manage my nodejs installation I added those packages to my ~/.default-npm-packages so that whenever I install a new node version those packages are automatically installed.

I’m posting this on the forum because the forum is the first place I searched for “js-beautify” but nothing came up.