From 0a5644f8f529e252e7dd0c0d54334ae435b13de0 Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Thu, 29 Dec 2022 07:31:54 +1100 Subject: [PATCH] [[DOCS]] Fix a few typos (#3638) There are small typos in: - src/cli.js - src/jshint.js Fixes: - Should read `necessarily` rather than `necessarilly`. - Should read `linting` rather than `liniting`. - Should read `delimiter` rather than `delimeter`. Signed-off-by: Tim Gates Signed-off-by: Tim Gates --- src/cli.js | 2 +- src/jshint.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cli.js b/src/cli.js index b4d0cb93c..b60482093 100644 --- a/src/cli.js +++ b/src/cli.js @@ -153,7 +153,7 @@ function loadReporter(fp) { // Storage for memoized results from find file // Should prevent lots of directory traversal & -// lookups when liniting an entire project +// lookups when linting an entire project var findFileResults = {}; /** diff --git a/src/jshint.js b/src/jshint.js index c02e77b8c..f2ae3cd9c 100644 --- a/src/jshint.js +++ b/src/jshint.js @@ -43,7 +43,7 @@ var scopeManager = require("./scope-manager.js"); var prodParams = require("./prod-params.js"); // We need this module here because environments such as IE and Rhino -// don't necessarilly expose the 'console' API and browserify uses +// don't necessarily expose the 'console' API and browserify uses // it to log things. It's a sad state of affair, really. var console = require("console-browserify"); @@ -6130,7 +6130,7 @@ var JSHINT = (function() { function computedPropertyName(context) { advance("["); - // Explicitly reclassify token as a delimeter to prevent its later + // Explicitly reclassify token as a delimiter to prevent its later // interpretation as an "infix" operator. state.tokens.curr.delim = true; state.tokens.curr.lbp = 0;