This is the repository for the LinkedIn Learning course ESLint: Customizing Styles. The full course is available from LinkedIn Learning.
Does your project style not adhere seamlessly to rules from a style guide? In this concise course—the second installment in the ESLint series—learn how to add and override rules to your ESLint configuration to ensure that you won't get flagged for "errors" that are really just aspects of your personal style. Instructor Sasha Vodnik shows how to customize your configuration by adding style rules to the predefined rules, as well as how to specify detailed configuration options for certain rules. Plus, learn how to identify and fix common configuration issues in ESLint.
- Web Development
- ESLint
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.
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.
The files are divided into three folders, which represent 3 separate projects:
- The
customizingfolder contains the project used in videos01_01and01_02. - The
troubleshootingfolder contains the project used in video01_03. - The
challengefolder contains the project used in videos01_04and01_05.
-
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
-
Clone this repository into your local machine using the terminal (Mac), CMD (Windows), or a GUI tool like SourceTree.
-
Open the folder for your repository clone in your code editor.
-
Navigate to the folder for your repository clone in terminal or CMD.
-
Navigate to the
customizingsubfolder, install dependencies using thenpm icommand, then repeat for thetroubleshootingandchallengefolders.
Sasha Vodnik
Senior Technical Course Developer at DocuSign
