PaperMC / website

The PaperMC website
https://papermc.io/
MIT License
51 stars 34 forks source link

fix: format logger iso time #27

Closed Lulu13022002 closed 2 years ago

Lulu13022002 commented 2 years ago

Use the iso format time for the terminal to follow how server loggers works. Sadly eslint fail but i don't know why

vercel[bot] commented 2 years ago

@Lulu13022002 is attempting to deploy a commit to the PaperMC Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] commented 2 years ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
site ❌ Failed (Inspect) Nov 6, 2022 at 0:58AM (UTC)
MiniDigger commented 2 years ago

I authorized the deployment, the lint warning is

./src/components/data/Terminal.tsx
--
20:44:21.586 | 12:40  Error: Replace `[{formatISOFullTime(new·Date())}·INFO]</span>:{"·"}⏎·····` with `⏎········[{formatISOFullTime(new·Date())}·INFO]⏎······</span>⏎······:`  prettier/prettier

I personally never touched this repo or next, but I would assume you can run npm run lint --fix to autoformat

Lulu13022002 commented 2 years ago

I think now that works