@@ -120,7 +120,7 @@ function isStaticBoolean(scope, node) {
120120
121121/**
122122 * Test if an AST node will always give the same result when compared to a
123- * bolean value. Note that comparison to boolean values is different than
123+ * boolean value. Note that comparison to boolean values is different than
124124 * truthiness.
125125 * https://262.ecma-international.org/5.1/#sec-11.9.3
126126 *
@@ -238,7 +238,7 @@ function hasConstantLooseBooleanComparison(scope, node) {
238238
239239/**
240240 * Test if an AST node will always give the same result when _strictly_ compared
241- * to a bolean value. This can happen if the expression can never be boolean, or
241+ * to a boolean value. This can happen if the expression can never be boolean, or
242242 * if it is always the same boolean value.
243243 * @param {Scope } scope The scope in which the node was found.
244244 * @param {ASTNode } node The node to test
@@ -488,7 +488,7 @@ module.exports = {
488488 }
489489
490490 /*
491- * In theory we could handle short circuting assignment operators,
491+ * In theory we could handle short-circuiting assignment operators,
492492 * for some constant values, but that would require walking the
493493 * scope to find the value of the variable being assigned. This is
494494 * dependant on https://github.com/eslint/eslint/issues/13776
0 commit comments