Advanced Linting in Node js with ESLINT | Jamund Ferguson

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

Splendid presentation... Thanks for sharing

josh
Автор

In the promise examples there are lambda functions wrapping function calls that return promises, I would suggest that this is close to the mixing callbacks and promises misstake.
The code at 15:26 should read:

baker.mix(ingredients)
.then(baker.putInOven)
.then(baker.takeOut)
.then(baker.putInOven)
.then(cb)

Apart from this a good talk and I would add that good lint rules is much more powerful for code quality than the programming community is giving it credit for today.

FredrikChristenson
Автор

Please help...the Jslint problem that i have is it keeps telling me 'document' is not defined. so when i try to do something simple as = "none"; it won't run the code and says 'document' is undefined. What does that mean and how can i fix it. Thank you.

yousufdaramay