boa-dev / boa-dev.github.io

Home of the Boa blog
https://boajs.dev/
3 stars 3 forks source link

Added Prettier, ESLint & updated dependencies #130

Closed Razican closed 6 months ago

Razican commented 6 months ago

This commit updates all dependencies to latest available versions, adds ESLint, better typescript and ECMAScript module usage in config files, and adds Docusaurus 3.1.1 type checking.

I also fixed almost all lints. There is one left, but we need to check about that one separately, as we have a link without href, that responds to an on-click (so it could be seen as a button maybe).

We should at some point enforce "npm run lint" on every commit in the CI.

Razican commented 6 months ago

TIL I need to lower my spaces to 2 😅

It depends on the language it seems. It uses different defaults for different languages.