From dd1f05ffa1afd988969a08c0891bb76d7ed8350a Mon Sep 17 00:00:00 2001 From: Mark Tyers Date: Fri, 18 Oct 2019 07:55:24 +0100 Subject: [PATCH] Fixed Some Spelling Errors --- 06 Code Quality.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/06 Code Quality.md b/06 Code Quality.md index 19a20628..47d21c4b 100644 --- a/06 Code Quality.md +++ b/06 Code Quality.md @@ -50,7 +50,9 @@ Now look at the top of the `index.js` file. Lines 18-19 import the module and cr list.add('bread', 42) ``` -This will call the `add()` function that is part of our `todo` object prototype. If you try and run this you will find that there is no functionality at all! +This will call the `add()` function that is part of our `todo` object prototype. + +Try running the server and adding an item to the list. Currently there is no functionality implemented at all! All the functionality is in the module we have imported. ### 2.1 Test Your Understanding @@ -81,7 +83,7 @@ $ node_modules/.bin/eslint todo/index.js You will see a list of issues that the linter has flagged in your code. Notice that some of these are flagged as errors (serious) and some as warnings (recommendations). Each message includes: -1. The line and comumn number where the error was found. +1. The line and column number where the error was found. 2. A description of the error. 3. The rule that is being broken. @@ -96,7 +98,7 @@ $ node_modules/.bin/eslint todo/ ### 3.1 Test Your Understanding 1. Locate and fix all the errors and warnings in the `index.js`. -2. Install `eslint` globally and then install the [eslint extension](https://github.com/Microsoft/vscode-eslint). After restarting your editor you should see any errors and warnings flagged in the editor. +2. Install the [eslint extension](https://github.com/Microsoft/vscode-eslint). After restarting your editor you should see any errors and warnings flagged in the editor. 3. Use the `eslint` plugin to locate and fix all the errors in the `modules/list.js` file. ## 4 Documentation