Тёмный

Linting with ESLint 

The Coding Train
Подписаться 1,7 млн
Просмотров 33 тыс.
50% 1

In this video I discuss "code linting": an automatic process to find errors in code. I examine the ESLint package for JavaScript.
🔗 ESLint: eslint.org/
🔗 eslint-config-p5js: www.npmjs.com/...
🎥 CircleCI: Unit Testing and Continuous Integration: • CircleCI: Unit Testing...
🎥 GitHub Branches: • 1.2: Branches - Git an...
🎥 Intro to the Command Line: • 1.5: Intro to the Comm...
🎥 let vs var: • 16.1: let vs var - Top...
🎥 My Phyllotaxis Coding Challenge: • Coding Challenge #30: ...
🚂 The Coding Train website: thecodingtrain....
💖 Support this channel on Patreon: / codingtrain
🛒 To buy Coding Train merchandise: www.designbyhu...
📚 Book recommendations: www.amazon.com...
💻 github.com/Cod...
🎥 For Unit Testing and Continuous Integration videos: • 10: Neural Networks - ...
🎥 For More Coding Challenges: • Coding Challenges
🔗 p5js.org/
🔗 processing.org
📄 Code of Conduct: github.com/Cod...

Опубликовано:

 

30 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 46   
@almost5198
@almost5198 6 лет назад
why the fuck can't i be this enthusiastic about coding
@Archikuus
@Archikuus 6 лет назад
I feel ya man, Been coding for 4 years and I question my career choices every day now, el gigle my dude.
@bastawa
@bastawa 6 лет назад
it's just not for you.
@sadface
@sadface 6 лет назад
I think the problem is the ideas. You really need to have a good idea to be able to get into it. I can open visual studio and sit for hours on end making something, but only because I had a good idea for a project. Without the idea, there is nothing.
@Loppy2345
@Loppy2345 6 лет назад
Coding is just a tool. Does a chair maker feel enthusiastic about his hammer? Probably not, but I bet he gets fulfillment from making good chairs; if he doesn't then he shouldn't be a chairmaker (make tables, houses, sculptures instead.)
@birsingh5388
@birsingh5388 6 лет назад
You are real joyful coder, awesome style.
@shalendrajoshi9392
@shalendrajoshi9392 5 лет назад
Oh man this is the first tutorial video which I watched with a smile on my face, great work
@joshinils
@joshinils 6 лет назад
16:45 lint the linting rules? Hmm
@Spiderlogical
@Spiderlogical 6 лет назад
It's funny how he's just keeps going on about his hopes and dreams when working with eslint :D
@Patrk38
@Patrk38 6 лет назад
Remember, the ESLInt allows you to define what's called a `global` keys. Those would be keys that were not defined anywhere inside of your codebase but are part of the third-party library or even environmental variables, that eslint is unable to find. Those will eliminate the issue with "not defined" error, it simply skips that validation on those keys. You can bump into a similar issue with `window`, on the browser. github.com/Elocast/elo-middlewares-package/blob/master/.eslintrc here's an example of mine.
@TheCodingTrain
@TheCodingTrain 6 лет назад
This is super helpful thank you!
@charbelsarkis3567
@charbelsarkis3567 6 лет назад
"quotes":["error","double"] or single
@brainz80
@brainz80 Год назад
I'm pretty sure fixing the lint errors worked, Atom just didn't refresh the document afterwards
@emirhan1356
@emirhan1356 3 года назад
is linting just about code styling? why there is a term called linter and this is an important topic I can use code formatting plugins
@kamoroso94
@kamoroso94 6 лет назад
What a wonderful video! I can't wait for the part 2! Thanks for making this :D
@amankapoor7665
@amankapoor7665 4 года назад
You can't have any errors if you have no code. *black guy pointing at his forehead meme*
@tusharmaurya1668
@tusharmaurya1668 6 лет назад
Man you are a wizard. I was literally looking for this kind of thing to use in atom!
@AlexGeekly
@AlexGeekly 4 года назад
1:05
@PaulGrossmanTheDarkArtsWizard
@PaulGrossmanTheDarkArtsWizard 2 года назад
I was wondering if you might consider making a video on creating custom lint rules? I'm a test automation engineer working in WebdriverIO and would like to create a rule that strings are accent marks. And recommending await prior to certain method calls.
@MartinStacey
@MartinStacey 4 года назад
Great video! does anybody know how to configure ESLINT for multiple javascript files, I have a separate file that has a class, buts its not recognized by ESLINT
@moaazbhnas886
@moaazbhnas886 5 лет назад
"I like to mix them up XD"
@Spiderlogical
@Spiderlogical 6 лет назад
Also what about the atom package for eslint?
@ajitsakri9888
@ajitsakri9888 4 года назад
your one punch man of coding
@augustuscaeser8939
@augustuscaeser8939 4 года назад
i agree too long
@vladimirbykov6084
@vladimirbykov6084 6 лет назад
Thanks for all your videos Den. You're the best dude! Thanks for this, I found in what direction to develop in programming next! I have a question, what about typescipt for p5.js?
@i3looi2
@i3looi2 4 года назад
Thank you for clarifications.
@miko007
@miko007 6 лет назад
if you specify a npm script, you no longer need the relative path to the node modules. they are magically available.
@artursbode
@artursbode 6 лет назад
8.1k views and only 230 likes?
@figfox2425
@figfox2425 6 лет назад
What about cross entropy in NN ? Pleaaaaase Daniel !! 🌈
@yea.61
@yea.61 3 года назад
You have such a positive vibe, i love that : ) Nice video!
@rebornreaper194
@rebornreaper194 5 лет назад
Calm down buddy
@maxaz1223
@maxaz1223 6 лет назад
What about a tutorial on eslint + prettier symbiosis?
@Witherstormminecraft
@Witherstormminecraft 5 лет назад
Linting equal weed in indonesian language 😂
@tompov227
@tompov227 5 лет назад
i loved the 25:35 part so funny
@50shadesofskittles9
@50shadesofskittles9 6 лет назад
I have a major case of "Please get on with it!" lol
@loukask.9111
@loukask.9111 6 лет назад
you're the best dude :D
@Invalid571
@Invalid571 6 лет назад
Obsthucation :')
@ianchui
@ianchui 6 лет назад
MORE CODING TRAINNN
@mohammadarjmandi
@mohammadarjmandi Год назад
You can optimize this video by removing unnecessary, not-so-funny acts and condensing it into a five-minute clip
@razeev4685
@razeev4685 6 лет назад
First
@Luffi98
@Luffi98 6 лет назад
Sonar lint in processing?
Далее
16.3: ES6 Arrow Function - Topics of JavaScript/ES6
22:32
16.11: Promises Part 1 - Topics of JavaScript/ES6
24:53
11 ming dollarlik uzum
00:43
Просмотров 1,4 млн
Coding Challenge 180: Falling Sand
23:00
Просмотров 941 тыс.
Diving into ESLint: Getting Setup (1 of 3)
15:25
Просмотров 24 тыс.
Coding Challenge 181: Weighted Voronoi Stippling
28:59
Просмотров 167 тыс.
Coding Challenge 182: Apollonian Gasket Fractal
56:48
JavaScript Pro Tips - Code This, NOT That
12:37
Просмотров 2,5 млн
ESLint Quickstart - find errors automatically
8:52
Просмотров 143 тыс.
Harder Drive: Hard drives we didn't want or need
36:47
11 ming dollarlik uzum
00:43
Просмотров 1,4 млн