Skip to content

LinkedInLearning/eslint-syntax-2255011

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESLint: Checking for Syntax and Logic Errors

This is the repository for the LinkedIn Learning course [ESLint: Checking for Syntax and Logic Errors]. The full course is available from LinkedIn Learning.

ESLint: Checking for Syntax and Logic Errors

Reduce bugs and boost efficiency by using ESLint to catch common coding errors. In this course—the third and final installment in the ESLint series—learn about some of the most essential error-catching rules in ESLint, as well as how to configure them. Instructor Sasha Vodnik details how to configure rules to identify errors in code for functions; configure ESLint to identify issues with loops and in conditional structures; enable error checking for logic errors in for and if-else statements; identify empty blocks and unneeded debugging statements; alert you to sparse arrays and strings that seem to use template literal syntax; and catch common logic errors. Plus, Sasha provides a challenge that allows you to put your new skills to the test.

Skills covered in this course

  • Web Development
  • Debugging Code
  • ESLint

Instructions

This repository has branches for each of the videos in the course. You can use the branch pop up menu in github to switch to a specific branch and take a look at the course at that stage, or you can add /tree/BRANCH_NAME to the URL to go to the branch you want to access.

Branches

The branches are structured to correspond to the videos in the course. The naming convention is CHAPTER#_MOVIE#. As an example, the branch named 01_03 corresponds to the first chapter and the third video in that chapter. Some branches will have a beginning and an end state. These are marked with the letters b for "beginning" and e for "end". The b branch contains the code as it is at the beginning of the movie. The e branch contains the code as it is at the end of the movie. The master branch holds the final state of the code when in the course.

Folders

The files are divided into two folders, which represent 2 separate projects:

  • The ErrorChecking folder contains the project used in videos 01_01 through 01_06.
  • The Challenge folder contains the project used in videos 01_07 and 01_08.

Installing

  1. To use these exercise files, you must have the following installed:
    • Node.js ^8.10.0, ^10.13.0, or >=11.10.1
    • npm
    • eslint ^6.0.0
    • webpack
    • a code editor, such as Visual Studio Code, Atom, or Sublime Text 3
    • (optional) the ESLint extension for your code editor
  2. Clone this repository into your local machine using the terminal (Mac), CMD (Windows), or a GUI tool like SourceTree.
  3. Open the folder for your repository clone in your code editor.
  4. Navigate to the folder for your repository clone in terminal or CMD.
  5. Navigate to the ErrorChecking subfolder, install dependencies using the npm i command, then repeat for the challenge folder.

Instructor

Sasha Vodnik

Senior Technical Course Developer at DocuSign

View on LinkedIn

Other Courses by Sasha

About

ESLint: Checking for Syntax and Logic Errors

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published