Skip to content

Commit

Permalink
[[DOCS]] Fix a few typos (#3638)
Browse files Browse the repository at this point in the history
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 <tim.gates@iress.com>

Signed-off-by: Tim Gates <tim.gates@iress.com>
  • Loading branch information
timgates42 committed Dec 28, 2022
1 parent 6d06f8f commit 0a5644f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/cli.js
Expand Up @@ -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 = {};

/**
Expand Down
4 changes: 2 additions & 2 deletions src/jshint.js
Expand Up @@ -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");

Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 0a5644f

Please sign in to comment.