Never Create A Nuxt Or Vue App Again Without This Package! (Eslint)
דרג סרטון זה
התחבר כדי לדרג
תיאור
When creating a new Nuxt application do you use a linter or formatter? What are the differences? How do you setup Eslint? Should you use prettier? In this tutorial I add the eslint packages to a Nuxt.js application and I show you why code formatters are worth using today! #vuejs #nuxtjs #eslint 👉 Check out my last video on Astro https://youtu.be/Sq7eKxPqfSo?si=ZB4ioVB7-kxh5KWk 👉Sign up for my mailing list and get neat stuff! https://bit.ly/3Umk7sW 👉 Need some help with a project, level up your skills, React, Next, Vue, or Nuxt? Check out my 1-on-1 mentoring! https://mentors.to/erik Follow me! https://twitter.com/erikch Links: https://typescript-eslint.io/linting/configs#recommended-type-checked https://github.com/nuxt/eslint-config/tree/main https://nuxt.com/modules/eslint https://www.youtube.com/watch?v=sSJBeWPIipQ Join this channel to get access to perks: https://www.youtube.com/channel/UCshZ3rdoCLjDYuTR_RBubzw/join 0:00 Introduction 01:12 Prettier formatter vs eslint linters 1:32 Install @nuxtjs/eslint-module 03:00 Setting and installing up nuxt/eslint-config 06:00 Testing out different eslint rules 07:17 Additional eslint plugins @vue/eslint-config-prettier 11:04 Josh Goldberg @typescript-eslint/eslint-recommended-type-checked