ESLint is the standard solution for linting your JavaScript projects. It’s never been easier to add ESLint to your project.
In this short guide you’ll learn how to get up and running with ESLint in under 5 minutes.
Video by Harry Wolff.
Harry has a YouTube channel about JavaScript: https://www.youtube.com/channel/UCgdeMp2ZBnovi12THmLc47g
—
Learn to code for free and get a developer job: https://www.freecodecamp.com
Read hundreds of articles on programming: https://medium.freecodecamp.com
And subscribe for new videos on technology every day: https://youtube.com/subscription_center?add_user=freecodecamp
source
Do I need eslint if I'm already using tsserver (CoC)?
love the bangin' intro music
vscode doesnot highlight any lint related warnings for me. why is that?
Please find the ts code which is resulting in 24 problems and unable to solve it.
————————————————-
async onmousemove(textToDisplay: string, elementToMouseHover: ElementFinder) {
it('mouse hover on ' + textToDisplay, async () => {
await browser.wait(ExpectedConditions.elementToBeClickable(elementToMouseHover));
await browser.driver.actions().mouseMove(elementToMouseHover).perform();
return;
});
}
————————————————-
',' expected.
Cannot find name 'async'.
Expected 1-3 arguments, but got 6.
Cannot find name 'textToDisplay'.
'string' only refers to a type, but is being used as a value here.
Cannot find name 'elementToMouseHover'.
Parameter '(Missing)' implicitly has an 'any' type.
————————————————-
————————————————-
Please share your comments to resolve the errors.
I am wondering why all tutorials I watch don't work on my pc. I get always errors and I cannot proceed…
1:02 If you want to answers all the questions with yes at once, use "npm init -y"
You da man
Great explanation! Thank you for help with eslint basics!
vscode eslint extension is already installed here, right?
great tutorial, quick and just to the point
Thank you for ending with a semicolon.
Thanks man 👍
thanks
voice of a real developer 7:51
Hi Harry, what is the theme that you are using for your vscode?
why there isn't an extension for this already?
hi, how do people have the branch name they are on shown in the terminal like you do "git:(master)" is it a mac only thing or some external package?
Thanks for the good quick introduction of eslint 🥂
I'm new in js, node.js and vscode. For intellisense Currently starting with free tabnine. Which intellisense are you using in this tutorial?
thanks for the video but i guess its better to have vscode in fullscreen and minimize your camera stream
How did he make that for loop right away at 2:00?
super clean info, thanks!
Hey, I am getting TypeError: Failed to load plugin 'jest' declared in '.eslintrc': Class extends value undefined is not a constructor or null. Please help.