typehero / typehero

Connect, collaborate, and grow with a community of TypeScript developers
https://typehero.dev
GNU Affero General Public License v3.0
6.06k stars 434 forks source link

add biome #1527

Open Hacksore opened 3 months ago

Hacksore commented 3 months ago

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

swalker326 commented 3 months ago

I don't know if next supports v9 eslint

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

swalker326 commented 3 months ago

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

Hacksore commented 3 months ago

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 commented 3 months ago

@swalker326 is cookin

swalker326 commented 2 months ago

Format does not show red squiggles

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

Hacksore commented 2 months ago

@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.