The SECRET to Perfect Code Formatting with ESLint and Prettier in Node.js TypeScript

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

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

  • @topura.1317
    @topura.1317 5 месяцев назад +3

    great work bro. i were used eslint older version.but there is many issues after eslint version 9. so I have tried many solutions. nothing worked. but your this latest tutorials got me easier to write to code. Thanks . you deserve everything.

    • @alexrusin
      @alexrusin  5 месяцев назад +1

      Thank you. I hear you. Switching to eslint 9 is a little hard. Most of the boiler plate repos still use older version of eslint. I think it is a bit of a chore to switch.

  • @rizwandev99
    @rizwandev99 4 месяца назад +2

    Wow man,
    You are the only one who gave latest video on eslint.
    keep it up, buddy,
    We are with you...

  • @gustavosilveira7008
    @gustavosilveira7008 2 месяца назад +1

    Amazing! Thanks!

  • @leonidsmirnov1788
    @leonidsmirnov1788 2 месяца назад +1

    Thank you so much!:)

  • @javiernievas2839
    @javiernievas2839 2 месяца назад +1

    You are the best!!!

  • @LegendsRuneteta
    @LegendsRuneteta 4 месяца назад +2

    Great video bro

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

    Please record something on how to also include husky to the setup since all the tools usually go together. And there is really no tutorial on that (especially after the eslint recent update)

    • @alexrusin
      @alexrusin  Месяц назад

      I actually have a video on husky setup: ruclips.net/video/Bmffw9Xt5D0/видео.html However, I have been using GitHub actions instead: ruclips.net/video/r6JFvfsuhIU/видео.html

  • @draylegend
    @draylegend 5 месяцев назад +1

    thank you! How to use --fix in a pre-commit git hooks file? Problem: after fixing the changes aren't commited and I need to add `git add -A` or similar in the pre-commit file

    • @alexrusin
      @alexrusin  5 месяцев назад +1

      You are welcome. You can use Husky for that. It should be done locally and run automatically. I have a video about how to integrate Husky. It is for Next.js project, but you can adopt it to Node.js if you want. ruclips.net/video/Bmffw9Xt5D0/видео.html

  • @Luke-Barrett
    @Luke-Barrett 4 месяца назад +1

    Why in the tsconfig.json do you have explicitly written in the exclude "node_modules when Typescript by default excludes this along with a few others?

    • @alexrusin
      @alexrusin  4 месяца назад

      Probably force of habit. Back in the days, I think, you had to exclude node modules, not mainly for typescript, but for other tools. Thank you for pointing this out.

  • @rakibtweets
    @rakibtweets 4 месяца назад +1

    Thanks a lot

  • @fruitypie
    @fruitypie 5 месяцев назад

    Can you confirm if the plugin is compatible with version 9 of ESLint?

    • @alexrusin
      @alexrusin  5 месяцев назад

      Which plugin?

    • @fruitypie
      @fruitypie 5 месяцев назад

      Eslint-plugin-import

    • @alexrusin
      @alexrusin  5 месяцев назад

      No, I can't. Some plugins do work with version 9 and some don't.

  • @yeasinjabed3630
    @yeasinjabed3630 Месяц назад

    Thanks brother

  • @фанатпуджа2007
    @фанатпуджа2007 5 месяцев назад +1

    dunno why youtube hides mine comments but thanks i luv u