Improve Your Code With ESLint + VsCode + Airbnb Styleguide

  Рет қаралды 51,082

Colt Steele

Colt Steele

4 жыл бұрын

In this video, we'll set up ESLint to improve our code quality and style. We'll integrate it with VSCode to make things super easy!
Find the notes here: www.notion.so/ESLint-Pluggabl...
If you're ready to launch your career as a software engineer, check out my job-guaranteed bootcamp with Springboard: springboard.com/workshops/sof...

Пікірлер: 118
@Edward-zr4bg
@Edward-zr4bg 4 жыл бұрын
Colt: *recommends to not search lint on google images* Literally no one: Also Colt: *shows immediately images of disgusting lint*
@MdShamimRahman
@MdShamimRahman 4 жыл бұрын
I think he made a mistake.
@ColtSteeleCode
@ColtSteeleCode 4 жыл бұрын
​@Eugene Avila​I'm really sorry if it upset you; i was just trying to have a bit of fun and didn't really consider that some viewers would have a tough time with it (especially if you were eating). None of my other videos contain disturbing imagery, I promise!
@anuraghazra4772
@anuraghazra4772 4 жыл бұрын
Yes that was sudden
@Edward-zr4bg
@Edward-zr4bg 4 жыл бұрын
@@ColtSteeleCode I know man it was disgusting but funny as we still it didn't turn me away from your great tutorials and i hope it didn't turn anybody either.
@hiryuimajin
@hiryuimajin 4 жыл бұрын
pew! im glad I was reading this comment, he was showing it while I was reading this thread. And can only see it on my peripheral
@juliemorgan08
@juliemorgan08 4 жыл бұрын
YES!! Keep the technical videos coming! Love your teaching style! This video is awesome as are all of your videos!! ESLint is going to be a huge life savor...thanks again!
@adammorait7429
@adammorait7429 4 жыл бұрын
Very helpful, especially for newbies. It's a good thing to learn the best practices when you just begun. Thank you.
@victorskydotdev
@victorskydotdev Жыл бұрын
I just love the way Colt teaches... Thank you, Colt!
@cedericprivat
@cedericprivat 4 жыл бұрын
I love videos on how to optimize code! Great one! Keep it up 💪🏼
@ivanbazan8421
@ivanbazan8421 4 жыл бұрын
I was having problems setting up this, and your video helped me a lot! Thanks!
@suyesh
@suyesh 4 жыл бұрын
Me: 'let me watch Colt steel's video while I eat this dumpling' That definitely didn't go well.
@tehuster
@tehuster 3 жыл бұрын
You are so talented in teaching stuff! Love your content. Tommorow I will be finishing your react video!
@himbary
@himbary 4 жыл бұрын
Thanks for all your great videos colt ♡
@benwen2602
@benwen2602 3 жыл бұрын
this is the best ESLInt introduction in KZbin!
@BechGameplayTMHD
@BechGameplayTMHD 4 жыл бұрын
Awesome video! More of these "optimize your code"-videos please!!
@edcoughlan5742
@edcoughlan5742 4 жыл бұрын
Great video! (I had a pretty vague idea what ESLint entailed till I watched your video.) Thanks!
@KrishnaTandon
@KrishnaTandon 4 жыл бұрын
I improved my algo and DS skills because of you. Thanks :)
@nakulshyamkumar9122
@nakulshyamkumar9122 4 жыл бұрын
You're the best, Colt!
@CastleShield
@CastleShield Жыл бұрын
Thanks this was very helpful.
@hostname47
@hostname47 Жыл бұрын
very useful, I liked your style of teaching much simple and obvious. Thanks
@_jormanespinoza
@_jormanespinoza 4 жыл бұрын
Thanks! It was really helpful!
@AmarKumar-lv1wu
@AmarKumar-lv1wu 4 жыл бұрын
Simply Awsome man.Thanks
@eh-lo2do
@eh-lo2do 4 жыл бұрын
No body does it better than you colt, gj brother
@chukwuemekaorji9331
@chukwuemekaorji9331 Жыл бұрын
Thank you so much Colt Steele this is amazing. Sorry I am curious about ESlint is it important and what advantages I do love to hear from you Thanks again
@cowabungatv4159
@cowabungatv4159 4 жыл бұрын
great video, thanks !
@zbera97
@zbera97 4 жыл бұрын
You are awesome. Thanks!
@digigoliath
@digigoliath 4 жыл бұрын
Thanks for the video. Its a great way to ease into ESLint. Now I just need to erase the image from my mind!
@yuhceeofficial
@yuhceeofficial 4 жыл бұрын
Colt you're just so awesome! I configured eslint before without fully understanding it but now i do, thanks to you!
@shashanksshetty9870
@shashanksshetty9870 4 жыл бұрын
Hey colt, it would be really great if you could cover up following topic. 1. Using Swagger in node application 2. Git hooks using husky 3. Sonarqube for code quality 4. Prettier, eslint, stylelint and other lint configuration. 5. React and Vue.js application with ESLint. 6. UI visual component creation using storybook or cosmos. Please keep doing more technical video.....also waiting for few crash course 😁😁😁
@htetlynnhtun101
@htetlynnhtun101 4 жыл бұрын
Thanks you sir! Please make videos about data structure and algorithms in JS for newbies.
@buddhahead8416
@buddhahead8416 3 жыл бұрын
Great vid
@_rachid
@_rachid 3 жыл бұрын
Thank you.
@0559229136
@0559229136 4 жыл бұрын
You are amazing bro
@hillaryonyechekwa2169
@hillaryonyechekwa2169 4 жыл бұрын
Colt you should do a tutorial on using the vscode debugger
@PetervandenHeuvel81
@PetervandenHeuvel81 4 жыл бұрын
It might be interesting what your methods are on using it inside a simple project, and how you set it up quickly every time. Perhaps use a preconfigured git-repo?
@theprakashkumar
@theprakashkumar 4 жыл бұрын
What next after your Udemy bootcamp? PLEASE MAKE VIDEO ON IT.
@iantan3046
@iantan3046 4 жыл бұрын
Your video is awesome as always! Can you make a tutorial of data structure and algorithms?
@dtellei
@dtellei 4 жыл бұрын
He has a JS data structures and algorithms course for sale on Udemy.
@aritralahiri8321
@aritralahiri8321 4 жыл бұрын
Very Nice and Informative Colt please make a video on OOPs in JS if it's possible .Thanks a lot :).
@karamfd
@karamfd 4 жыл бұрын
You can use npx to configure eslint when it's installed locally, like this: npx eslint --init
@S4LTYT
@S4LTYT 3 жыл бұрын
how to install it ?
@stephanvebrian8670
@stephanvebrian8670 3 жыл бұрын
@@S4LTYT npm i -D eslint would work
@jellyfish1772
@jellyfish1772 Жыл бұрын
Thanks sir
@VinitNeogi
@VinitNeogi 4 жыл бұрын
Please make video for configuring Eslint with Prettier for Angular projects since Tslint is now deprecated.
@mattiarasulo9934
@mattiarasulo9934 4 жыл бұрын
Ehi Colt! Just a collateral question. Is the Q&A section of the React Course on Udemy being handled somehow? I see many questions waiting for answers and I have a couple as well! :D Great course btw, I know I'm asking a lot for just $10 but still, I am accustomed to the incredible support in the WebDevBootcamp so.. Just asking! :)
@RogerThat902
@RogerThat902 4 жыл бұрын
Great as always. Would love to see you do an additional video w/ prettier also since I think "the cool kids" are now using ESLint for warnings and Prettier to actually make the changes. Thanks for all the great content :)
@ColtSteeleCode
@ColtSteeleCode 4 жыл бұрын
Hi Tickled Elmo, it's definitely in the works! I originally had Prettier/Prettier Now in this video, but I've realized that most of my longer videos don't do very well on KZbin so I decided to make a separate Prettier video. Thanks for the nice comment!
@victorvermeulen1746
@victorvermeulen1746 4 жыл бұрын
@@ColtSteeleCode So if I get it right, you use both at the same time? Thanks for your Udemy courses, following your React course now and I like it a lot!
@marlynch
@marlynch 4 жыл бұрын
Would love some elaboration as to why you prefer Airbnb's style guide over others. Many thanks for this, and all your other excellent videos! PS less belly button lint, please - some things you can't unsee!
@ColtSteeleCode
@ColtSteeleCode 4 жыл бұрын
Hi Martin, I don't have a very satisfying answer. When I first started using ESLint, Airbnb had the most well-documented style guide. It also had 4 times the Github stars, so I figured it was more widely used. I also happen to like most of their style choices, though I'm not a fan of the trailing commas rule. Trailing commas bother me. But whatever style guide you use, I would treat it as a starting off point for you to tweak and turn rules on/off.
@marlynch
@marlynch 4 жыл бұрын
@@ColtSteeleCode Thanks Colt - appreciate the response. After posting my comment, I found this article with an explanation: medium.com/@uistephen/style-guides-for-linting-ecmascript-2015-eslint-common-google-airbnb-6c25fd3dff0. As you say, neither is perfect - I don't like the Airbnb's objection to concatenation - but the ability to tweak them is extremely helpful (and that article started me learning about JSDoc, which Google requires).
@Luxcium
@Luxcium 4 жыл бұрын
I installed globally and locally plus the extension of my IDE (The beloved VSCODE) I am again commenting in the beginning watching 3:09 I hope 🤞 (maybe not in this video but in an other soon) that you will cover TypeScript (I am using TSLint and they are phasing out to use eslint and its so complicated for me)
@MmMighel
@MmMighel 4 жыл бұрын
Very informative video, but I have a question: if I install ESLint through VSCode, do I still need to install and init it through npm? Or the same setup process happens when installing directly in VSCode? Thank you! :)
@manudeepp5666
@manudeepp5666 2 жыл бұрын
Yes King
@shubhamdogra6118
@shubhamdogra6118 4 жыл бұрын
Hey colt! Please make a video as a alternative for cloud 9 as it is going to shut down ....
@MrAgent00i
@MrAgent00i 2 жыл бұрын
I get a parsing error: invalid ecmaVersion Any idea how to resolve this? Btw. I looooove your content, best teacher I know! Thanks a lot for your service!
@piyushmajgawali1611
@piyushmajgawali1611 3 жыл бұрын
great
@adityashinde3864
@adityashinde3864 4 жыл бұрын
Please make JavaScript es 6 videos.
@rojitrojit6576
@rojitrojit6576 4 жыл бұрын
Hey colt, what do you design your thumbnails with?
@kaiparado
@kaiparado 3 жыл бұрын
Probably with Canvas
@lesterloutte2320
@lesterloutte2320 Жыл бұрын
@@kaiparado dont know why.. but your comment cracked me up.. hahaha
@GiammaCarioca
@GiammaCarioca 4 жыл бұрын
Nice icons! What extension are you using for them?
@ColtSteeleCode
@ColtSteeleCode 4 жыл бұрын
Material UI Icons! Sometimes my icon theme switches for no reason when my computer restarts, so in some of my videos I also end up using Simple Icons without realizing it. Both are VSCode Extensions.
@GiammaCarioca
@GiammaCarioca 4 жыл бұрын
​@@ColtSteeleCode I have Material UI Icons installed so it must the the other one... thanks!
@Hotatoes
@Hotatoes 4 жыл бұрын
can you make avideo on BEM methodology or Atomic Desgine ??
@glassofchampagne
@glassofchampagne 4 жыл бұрын
Hey Colt, thanks for your video, always 5 star content! I often find myself conflicted on whether I should continue using react or learn Angular as well (because developers who use Angular are high in demand). It seems a little too much for me to be a master of both. You have any advice on this? Thanks
@ColtSteeleCode
@ColtSteeleCode 4 жыл бұрын
Hey! I would definitely recommend starting with one framework and really mastering it before you move on to another one. Most experienced developers are able to learn new frameworks relatively easily when needed, but it's much harder to do when you are starting out. Learn one as well as you can, and that will make it easier to learn another one down the line. Build a couple substantial projects in React first. Or switch to angular if you want, but then make sure you really commit to learning it for a couple months before learning something else. I wouldn't get too hung up on which one you learn, since both have a pretty equal market share these days. Where are you based and what kind of job are you looking for (in-person full-time, remote freelancer, etc.)?
@glassofchampagne
@glassofchampagne 4 жыл бұрын
@@ColtSteeleCode Well I'm based in Europe - Malta and I recently got employed as a front end at a pretty good company, I'm a little nervous because I want to make sure I can do well at this new place :) Thanks for the reply and great advice Colt!
@ColtSteeleCode
@ColtSteeleCode 4 жыл бұрын
@@glassofchampagne Do you know what stack the company uses? Most companies will give you time to learn their stack/technologies since it's unrealistic to expect someone to know everything they use before they arrive. Also, Malta is a beautiful place! Where in Malta are you?
@glassofchampagne
@glassofchampagne 4 жыл бұрын
@@ColtSteeleCode They haven't specified what stack they use quite yet. Although they know that I primarily have experience with React. Haha, I'm glad you think Malta is beautiful! It's definitely a sunny place :) I live up north in Saint Paul's Bay. Have you been to Malta before?
@alkaseemabubakar7948
@alkaseemabubakar7948 4 жыл бұрын
still waiting for your next video on es-lint rules
@TheYusuf10
@TheYusuf10 4 жыл бұрын
Mr.Colt , Could you possibly share ur vscode settings.json file?
@sandeep.ranjan_
@sandeep.ranjan_ 4 жыл бұрын
Make Something About microservices in nodejs or builtin proxy server and handling load balancing
@pourya1991
@pourya1991 11 ай бұрын
Can we use eslint with prettier Plugin or we have to disable prettier?
@kaiparado
@kaiparado 3 жыл бұрын
Do you thing eslint auto fix can replace prettier ?
@coskunuyar35
@coskunuyar35 3 жыл бұрын
with "./node_modules/.bin/eslint --init" if you encounter problem like : '.' is not recognized as an internal or external command, operable program or batch file. just do: -> npm -g i eslint-cli ->eslint --init ->eslint app.js
@Luxcium
@Luxcium 4 жыл бұрын
Am I the only one who, to make disappear the squiggly line during development, I put my yet unused variable in an object I return if in a function or I put the keyword export if I am in a function
@alessandrorevinciguerra8160
@alessandrorevinciguerra8160 4 жыл бұрын
Thanks very useful...( you haven't told us of the chicks!)
@othman_
@othman_ 4 жыл бұрын
I would suggest a topic describing the new terms we always hear like Firebase,AWS amplify,serversless and zero configuration deployments what this whole junk means ?
@keemeshrampersad8859
@keemeshrampersad8859 4 жыл бұрын
Colt: When will your next Udemy course be out?
@piyushmajgawali1611
@piyushmajgawali1611 3 жыл бұрын
😂
@MrKaremnour
@MrKaremnour 4 жыл бұрын
what is "react-scripts": "3.0.1", for?
@pranjalverma1348
@pranjalverma1348 4 жыл бұрын
Sir, could you please provide me a coupon code for your course on udemy on web development. Please I really need that
@eh-lo2do
@eh-lo2do 4 жыл бұрын
i'm struggling with sublime text 3, how to enable it by default
@godwinebikwo6544
@godwinebikwo6544 4 жыл бұрын
Come to the light using Vs Code
@daviesadedeji5344
@daviesadedeji5344 4 жыл бұрын
Hey Colt 👋 how is blue? 🐈
@mohammedhafeez8003
@mohammedhafeez8003 4 жыл бұрын
Haiii sir. What are u r upcoming udemy courses
@marble_wraith
@marble_wraith 4 жыл бұрын
Theres a disadvantage to using json for config. Comments cant be used as part of the standard.
@mundoreal1536
@mundoreal1536 4 жыл бұрын
I think you should make a paid course helping us make airbnb like websites.
@adityashinde910
@adityashinde910 4 жыл бұрын
javascript DOM required to learn react.js.
@alveek
@alveek 4 жыл бұрын
please explain async await promises fetch shit
@wackyjoker7912
@wackyjoker7912 4 жыл бұрын
0:37 thx for sharing that, My Day is ruined as much as you do xD
@AwkworldStudios
@AwkworldStudios 4 жыл бұрын
Gonna add my two cents about the technical vs non-technical vids with the caveat that everything I say is conjecture and based on my own anecdotal experience. It makes sense to me that a more general VS code video would do well because it covers such a broad range of potential developers: aspiring devs, junior devs, senior devs, javascript devs, python devs, php dev, etc. Also these videos are easy to consume, often they don't make you think too hard, and who doesn't like to do something simple that makes everything look better? Technical videos in my experience only get consumed on a need to know basis. Something like webpack only applies to a subset of web developers: the people who need to know about it because they are using it or plan to use it. Sure some people just want to get a primer to see what it's all about but I suspect that most people aren't stumbling on a series of videos about webpack and saying: "I wonder what this is, better sink a bunch of time into it and find out!" That being said, I think it's important to think about the kind of person who is watching these more technical videos. You were the first instructor online that I really clicked with, before I got my first dev job. I've purchased 5 of your udemy courses. In particular I remember I was working through Maximillian Schwarzmuller's React course when yours came out earlier this year and I dropped his course like a bad habit (even though I think it is a great course and very complimentary to yours in many ways) so that I could start working through yours. I'm willing to spend money on your content because when you explain things they click in my head and make me a better developer. So when you offer freebie technical content it keeps your name in my mind and I am more likely to buy from you in the future. I'll give you a prime example. I bought your JS data structures and algorithms course a while back (before I even needed it, because again, I trust your content and knew it would be valuable to me eventually) and just started working on it. At the same time I came across the website AlgoExpert which was great because it was like a combination of Code Wars, which I like, and in depth videos similar to yours. They are complimentary. But I'll tell you what. If you had a site similar to AlgoExpert I would have spent my money with you instead no questions asked. That is to say I would have purchased a more premium product on top of the JS algorithms course I already bought from you (or from udemy by you as it were). Anyway, that's a long way of saying that I think you're technical videos have a lot of value. And I suspect that many people who are serious about advancing their careers (like me) are willing to shell out for your stuff after they get a peak at how good you are at explaining things. Wait, is all this just a way of me asking you to make more premium products and not just strictly udemy courses? Idk it's probably better for my wallet if you still to udemy and youtube haha!
@ColtSteeleCode
@ColtSteeleCode 4 жыл бұрын
Wow, thank you for taking the time to write all that up! I really appreciate it! I have plenty of "fun" technical content planned for KZbin because honestly, I enjoy creating those videos far more than the easier content that might reach a broader audience. I am indeed working on a new "premium" offering which will be a subscription service which costs about the same as a Udemy course each month. Right now I've completed all new courses on advanced ES2015/6/7, React Hooks, React Testing, Redux, Advanced Terminal/Unix Commands, and GraphQL. I've also already created the materials for courses on GraphQL, TypeScript, and Vue. Of course I'll post more information on my KZbin once I get closer to launching (most likely end of October). I wanted to make a platform where I could create and share courses quickly and regularly. Rather than spending 3 months making a 35 hour course, I can put out a new 10 hour course each month. I'm also working on some fun new features like coding competitions, code reviews, and mentorship opportunities. Since I cannot share this new platform via Udemy (they only let you email students about other Udemy courses), I'm hoping to grow my KZbin channel and use it to announce this new project. I may end up releasing a couple other "simple" youtube videos in hopes of reaching a wider audience, but most of what I post in the next few months will be technical content. I honestly hate the marketing side of what I do. It's one of the reasons I put my courses on Udemy in the beginning: they market it for me! Anyway, I'm working on a lot of exciting stuff, including a job-guaranteed online training that I'm very excited about. Thanks for taking the time to share your thoughts, it's really helpful for me to hear!
@Shubham-b
@Shubham-b 4 жыл бұрын
@@ColtSteeleCode Super excited for your premium offering colt. Please launch it asap! Also can you make project oriented courses that build a really big complex applications from scratch just like YelpCamp but bigger if possible.
@ColtSteeleCode
@ColtSteeleCode 4 жыл бұрын
@@Shubham-b Working hard on it! And YES to the project courses! Right now I'm working on a couple project courses, though they likely won't be available at launch. They take forever to make since I first have to write all the code, refactor it, and then record. I'm very excited about those because it's content I've always wanted to create but it just doesn't work on Udemy. I'm working on a Trello clone and also a clone of a popular iphone app in React Native. Of course, they won't be as full-featured as the originals but I'm still very excited!
@Shubham-b
@Shubham-b 4 жыл бұрын
@@ColtSteeleCode Thanks for the reply Colt! Looking forward to it. Appreciate your hard work very much.
@renovatiovr
@renovatiovr 4 жыл бұрын
Or save all this time for development and use webstorm
@boomerangfish3558
@boomerangfish3558 3 жыл бұрын
dude im eating chips and drinking cola, but not anymore. thanks!
@murat6018
@murat6018 3 жыл бұрын
duuuudeee, why would you show us that belly button lint? WHY? WHYYYYYYYYYYY?????????? Anyway, apart from that evil, evil start, great video. I was hearing about ESLint but didn't know where to start. Thanks.
@yuhceeofficial
@yuhceeofficial 4 жыл бұрын
How are your little monsters doing though? 😁
@songdexue1715
@songdexue1715 4 жыл бұрын
why you show some strange image that makes me feel uncomfortable
@lutfiandrii
@lutfiandrii 3 жыл бұрын
Don't we need 'prettier'?
@sayansingha8474
@sayansingha8474 4 жыл бұрын
Why would you show that to us COLT??!!
@labwax
@labwax 4 жыл бұрын
Why did you do that. :-(
@griffadev
@griffadev 4 жыл бұрын
Ruin your day with Airbnb lint rules
@juliemorgan08
@juliemorgan08 4 жыл бұрын
YES!! Keep the technical videos coming! Love your teaching style! This video is awesome as are all of your videos!! ESLint is going to be a huge life savor...thanks again!
JS Arrow Functions: Everything You Need to Know
20:23
Colt Steele
Рет қаралды 31 М.
Powerful VSCode Tips And Tricks For Python Development And Design
15:50
1❤️#thankyou #shorts
00:21
あみか部
Рет қаралды 77 МЛН
Super gymnastics 😍🫣
00:15
Lexa_Merin
Рет қаралды 90 МЛН
Why You Should Be Using CSS Variables
13:28
Colt Steele
Рет қаралды 27 М.
Josh Goldberg - Setting Up ESLint and TypeScript for React
27:33
JSWORLD Conference
Рет қаралды 10 М.
ESLint with VSCode, Prettier, Husky and React For Beginners
35:03
Pro VSCode Tricks
19:03
Harry Wolff
Рет қаралды 16 М.
Linting with ESLint
28:29
The Coding Train
Рет қаралды 32 М.
Airbnb ESLint & Prettier Setup With React.js & TypeScript
19:43
WEB CIFAR
Рет қаралды 1,8 М.
JavaScript Style Guides: What are they and which one to use?
6:11
Code With Bubb
Рет қаралды 6 М.
VSCode ESLint, Prettier & Airbnb Style Guide Setup
22:40
Traversy Media
Рет қаралды 297 М.
What Makes Rust Different?
12:38
No Boilerplate
Рет қаралды 197 М.
How To Unlock Your iphone With Your Voice
0:34
요루퐁 yorupong
Рет қаралды 22 МЛН
ПОКУПКА ТЕЛЕФОНА С АВИТО?🤭
1:00
Корнеич
Рет қаралды 1,5 МЛН
Мечта Каждого Геймера
0:59
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 1,2 МЛН