Git Product home page Git Product logo

eslint-syntax-2255011's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.