How to Set Up ESLint in 2024 (For Beginners)

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 ก.ย. 2024

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

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

    What else would you like to learn about ESLint? Let me know! 👇

    • @olabanjoolakunori5151
      @olabanjoolakunori5151 21 วันที่ผ่านมา +1

      Formatting imports and using the plugins that helop do that. Great video btw

    • @thecommoncoder
      @thecommoncoder  20 วันที่ผ่านมา +1

      @olabanjoolakunori5151 I'm working on a video about prettier right now, and then I'll follow that one up with a video about using ESLint and Prettier together to do some auto formatting. Thanks for watching!

    • @olabanjoolakunori5151
      @olabanjoolakunori5151 20 วันที่ผ่านมา

      @@thecommoncoder That's superb, thank you🙏🏾

  • @theVegan47
    @theVegan47 9 วันที่ผ่านมา +1

    Great video!
    Thank you for this straight to the point video with useful tips.
    I was confused by older videos and even chatGPT trying to help me set this up as they refer to older versions and file types.
    Subbed!

    • @thecommoncoder
      @thecommoncoder  9 วันที่ผ่านมา

      Thank you! Glad it was helpful. 😊

  • @sergiocely10-dev
    @sergiocely10-dev หลายเดือนก่อน +1

    Thank you for the video, it was very helpful.

  • @user-tx4wj7qk4t
    @user-tx4wj7qk4t 12 วันที่ผ่านมา

    Thank you for the video but in practice it is significant more complicated. First of all you have to enable flat config in vscode to prevent issues (many many things are broken in general in the ecosystem because of this), you need to combine it with typescript since most people use that as well as a number of other extremely common plugins and it leads to 10+ dependencies installed an a very different looking config file. That's not even mentioning framework integrations like astro or mega linters like Trunk

    • @thecommoncoder
      @thecommoncoder  12 วันที่ผ่านมา

      @@user-tx4wj7qk4t Definitely agree that most setups are usually more complicated than this. A lot of the JavaScript ecosystem is needlessly complicated IMO, so I’m mainly trying to break down some of the individual pieces in simple ways to help people understand the fundamentals. Thanks for the feedback! 🙏

    • @user-tx4wj7qk4t
      @user-tx4wj7qk4t 12 วันที่ผ่านมา +1

      @@thecommoncoder it is because js isn't an intelligently designed language and is very imperative so it needs all of its faults made up for. In haskell or purescript you barely need any tooling because the language is inherently solid.
      With that being said a video on typescript integration with eslint would be fairly helpful. Particularly strict typing

  • @StephenRayner
    @StephenRayner 8 วันที่ผ่านมา +1

    Biome………………………….

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

      I haven’t had a chance to use Biome yet, but I’m going to check it out and will probably make a video on it. StandardJS is another good option too if you want something that’s just plug and play. Thanks for the comment! 🙏