typehero icon indicating copy to clipboard operation
typehero copied to clipboard

add biome

Open Hacksore opened this issue 1 year ago • 6 comments

This might be hard for someone who hasnt done it so im gonna give it the very hard lable.

the guide: https://eslint.org/docs/latest/use/migrate-to-9.0.0

Hacksore avatar Aug 29 '24 23:08 Hacksore

I don't know if next supports v9 eslint

https://github.com/vercel/next.js/issues/64409

swalker326 avatar Aug 30 '24 03:08 swalker326

I would also recommend biome. It's really monorepo friendly, faster and handles formatting so removes the prettier setup/config also.

swalker326 avatar Aug 30 '24 03:08 swalker326

seems there is an LSP for the vim folks:

  Installed
    ✓ biome
      Toolchain of the web. Successor to Rome.

      installed version 1.8.3                        
      homepage          https://biomejs.dev          
      languages         JSON, JavaScript, TypeScript 
      categories        LSP, Linter, Formatter       
      executables       biome                        

      → LSP server configuration schema (press enter to expand)

SHIP IT BUT IF THE LSP SUCKS IT'S ON YOU!

Hacksore avatar Aug 30 '24 21:08 Hacksore

@swalker326 is cookin

Hacksore avatar Aug 30 '24 23:08 Hacksore

Format does not show red squiggles

https://github.com/biomejs/biome-vscode/discussions/205

swalker326 avatar Sep 05 '24 15:09 swalker326

@bautistaaa do you even biome bro? but real talk, do you care about not having an LSP in neovim withing your config for this?

@swalker326 and I chatted in discord and the LSP works in neovim if you configure it, see my config for ref.

It's def faster than prettier/eslint but we are just missing CI and it's probably shippable.

Hacksore avatar Sep 08 '24 02:09 Hacksore

Gonna close but we have a draft PR https://github.com/typehero/typehero/pull/1537

Hacksore avatar Jan 06 '25 01:01 Hacksore