ClimateTown / knowledge-hub

Your one-stop shop in the fight against climate change, containing important climate resources you wish you knew about yesterday.
https://hub.climatetownproductions.com
MIT License
35 stars 25 forks source link

Patch pre-commit config (Svelte support in CI) #353

Closed VeckoTheGecko closed 8 months ago

VeckoTheGecko commented 8 months ago

Describe your changes

Migrate to .prettierrc.cjs as mentioned in https://github.com/prettier/prettier/issues/15388#issuecomment-1717746872. Note that .cjs is used since in package.json, "type": "module" is used which declares all .js files in that package scope as ES modules. .cjs marks it explicitly as a common JS file.

Related issue number/link

Fixes #349