How to Set Up ESLint in 2024 (For Beginners)

Поделиться
HTML-код
  • Опубликовано: 9 сен 2024

Комментарии • 13

  • @thecommoncoder
    @thecommoncoder  Месяц назад +1

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

    • @olabanjoolakunori5151
      @olabanjoolakunori5151 19 дней назад +1

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

    • @thecommoncoder
      @thecommoncoder  18 дней назад +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 18 дней назад

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

  • @theVegan47
    @theVegan47 7 дней назад +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!

  • @sergiocely10-dev
    @sergiocely10-dev 28 дней назад +1

    Thank you for the video, it was very helpful.

  • @user-tx4wj7qk4t
    @user-tx4wj7qk4t 10 дней назад

    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  10 дней назад

      @@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 9 дней назад +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 5 дней назад +1

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

    • @thecommoncoder
      @thecommoncoder  5 дней назад

      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! 🙏