Рет қаралды 10,923
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
• Is Astro A Game Change...
👉Sign up for my mailing list and get neat stuff!
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!
mentors.to/erik
Follow me!
/ erikch
Links:
typescript-eslint.io/linting/...
github.com/nuxt/eslint-config...
nuxt.com/modules/eslint
• Josh Goldberg - Settin...
Join this channel to get access to perks:
/ @programwitherik
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