Biome, an ESLint/Prettier replacement?

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 ก.ค. 2024
  • After stumbling into Biome in the t3-env package, I was curious! In this video, I walk through installing and configuring Biome for the first time, testing out its commands, and ripping out ESLint and Prettier in an existing repository.
    Biome:
    biomejs.dev/
    Follow me here:
    x.com/kevinwwwade
    0:00 - Intro
    0:36 - What is Biome?
    2:56 - Install and Configure Biome
    4:41 - Testing Format Commands
    6:00 - Configure Spaces Indent Style
    8:01 - Testing Lint Command
    8:43 - Configure Ignore Files
    9:51 - Lint Results and Fixes
    11:08 - Remove ESLint & Prettier
    15:15 - Organize Imports Automatically
    18:20 - Configure Formatter in VSCode
    18:34 - Code Suggestions Demo
    19:42 - Outro
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 12

  • @wizzl8513
    @wizzl8513 4 หลายเดือนก่อน +1

    Awesome video, exactly what I was looking for

  • @elian5
    @elian5 2 หลายเดือนก่อน

    gran video, necesitaba esta guia rapida 🙌🙌

  • @karnellschultz6446
    @karnellschultz6446 4 หลายเดือนก่อน

    Great video, fun stuff

  • @user-mx2mt9ui6t
    @user-mx2mt9ui6t 5 หลายเดือนก่อน +2

    I am waiting for them to add CSS and HTML support, to use it in my svelte projects.
    I hope they do it soon.

    • @kevinwwwade
      @kevinwwwade  5 หลายเดือนก่อน +1

      That’s good to know that that’s not included yet. Thanks!

    • @IStMl
      @IStMl 22 วันที่ผ่านมา

      they should just let people write plugins, it wold go much faster

    • @habibosaye
      @habibosaye 7 วันที่ผ่านมา

      @@IStMlI think they are currently working on a plugin system

  • @mrlordbrutish
    @mrlordbrutish 5 หลายเดือนก่อน

    Diagnostics directly influenced by being written in Rust. These are the types of errors the Rust compiler spits out for you.

  • @gosnooky
    @gosnooky 5 หลายเดือนก่อน +1

    I'm very picky with my import ordering. I have eslint configured top to bottom, node native, third party, third party @scoped, then my @lib/**/* - each group in alphabetic order. I wonder if Biome allows for such fine-grained control, or if it's overly opinionated. Prettier's opinionated nature is why I never used it and left everything to eslint. This looks promising tho - I appreciate good documentation and DX.

    • @IStMl
      @IStMl 22 วันที่ผ่านมา

      no