Skip to content

Commit aa12194

Browse files
committed
Revert changes in 3 files
1 parent fc38af9 commit aa12194

File tree

3 files changed

+21
-21
lines changed

3 files changed

+21
-21
lines changed

tests/bench/large.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12565,16 +12565,16 @@ if (typeof window === "undefined") window = {};
1256512565
30,
1256612566
);
1256712567

12568-
var orPrecedence = 40;
12568+
var orPrecendence = 40;
1256912569
infix(
1257012570
"||",
1257112571
function (left, that) {
1257212572
increaseComplexityCount();
1257312573
that.left = left;
12574-
that.right = expression(orPrecedence);
12574+
that.right = expression(orPrecendence);
1257512575
return that;
1257612576
},
12577-
orPrecedence,
12577+
orPrecendence,
1257812578
);
1257912579
infix("&&", "and", 50);
1258012580
bitwise("|", "bitor", 70);

tests/lib/eslint/legacy-eslint.js

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3028,7 +3028,7 @@ describe("LegacyESLint", () => {
30283028
}, /Error while processing options validation schema of rule 'schema-invalid\/rule1': minItems must be number/u);
30293029
});
30303030

3031-
it("should successfully execute with a rule with `schema:false` from a plugin when no options were passed", async () => {
3031+
it("should succesfully execute with a rule with `schema:false` from a plugin when no options were passed", async () => {
30323032
eslint = new LegacyESLint({
30333033
cwd: path.join(fixtureDir, "plugins"),
30343034
baseConfig: {
@@ -3055,7 +3055,7 @@ describe("LegacyESLint", () => {
30553055
);
30563056
});
30573057

3058-
it("should successfully execute with a rule with `schema:false` from a plugin when an option is passed", async () => {
3058+
it("should succesfully execute with a rule with `schema:false` from a plugin when an option is passed", async () => {
30593059
eslint = new LegacyESLint({
30603060
cwd: path.join(fixtureDir, "plugins"),
30613061
baseConfig: {
@@ -3082,7 +3082,7 @@ describe("LegacyESLint", () => {
30823082
);
30833083
});
30843084

3085-
it("should successfully execute with a rule with `schema:[]` from a plugin when no options were passed", async () => {
3085+
it("should succesfully execute with a rule with `schema:[]` from a plugin when no options were passed", async () => {
30863086
eslint = new LegacyESLint({
30873087
cwd: path.join(fixtureDir, "plugins"),
30883088
baseConfig: {
@@ -3131,7 +3131,7 @@ describe("LegacyESLint", () => {
31313131
}, /Configuration for rule "schema-empty-array\/rule1" is invalid.*should NOT have more than 0 items/su);
31323132
});
31333133

3134-
it("should successfully execute with a rule with no schema from a plugin when no options were passed", async () => {
3134+
it("should succesfully execute with a rule with no schema from a plugin when no options were passed", async () => {
31353135
eslint = new LegacyESLint({
31363136
cwd: path.join(fixtureDir, "plugins"),
31373137
baseConfig: {
@@ -3178,7 +3178,7 @@ describe("LegacyESLint", () => {
31783178
}, /Configuration for rule "schema-missing\/rule1" is invalid.*should NOT have more than 0 items/su);
31793179
});
31803180

3181-
it("should successfully execute with a rule with an array schema from a plugin when no options were passed", async () => {
3181+
it("should succesfully execute with a rule with an array schema from a plugin when no options were passed", async () => {
31823182
eslint = new LegacyESLint({
31833183
cwd: path.join(fixtureDir, "plugins"),
31843184
baseConfig: {
@@ -3205,7 +3205,7 @@ describe("LegacyESLint", () => {
32053205
);
32063206
});
32073207

3208-
it("should successfully execute with a rule with an array schema from a plugin when a correct option was passed", async () => {
3208+
it("should succesfully execute with a rule with an array schema from a plugin when a correct option was passed", async () => {
32093209
eslint = new LegacyESLint({
32103210
cwd: path.join(fixtureDir, "plugins"),
32113211
baseConfig: {
@@ -3280,7 +3280,7 @@ describe("LegacyESLint", () => {
32803280
}, /Configuration for rule "schema-array\/rule1" is invalid.*should NOT have more than 1 items/su);
32813281
});
32823282

3283-
it("should successfully execute with a rule with an object schema from a plugin when no options were passed", async () => {
3283+
it("should succesfully execute with a rule with an object schema from a plugin when no options were passed", async () => {
32843284
eslint = new LegacyESLint({
32853285
cwd: path.join(fixtureDir, "plugins"),
32863286
baseConfig: {
@@ -3307,7 +3307,7 @@ describe("LegacyESLint", () => {
33073307
);
33083308
});
33093309

3310-
it("should successfully execute with a rule with an object schema from a plugin when a correct option was passed", async () => {
3310+
it("should succesfully execute with a rule with an object schema from a plugin when a correct option was passed", async () => {
33113311
eslint = new LegacyESLint({
33123312
cwd: path.join(fixtureDir, "plugins"),
33133313
baseConfig: {
@@ -3971,7 +3971,7 @@ describe("LegacyESLint", () => {
39713971
"the entry for the file to be deleted should not have been in the cache",
39723972
);
39733973

3974-
// make sure that the previous assertion checks the right place
3974+
// make sure that the previos assertion checks the right place
39753975
assert.notStrictEqual(
39763976
typeof cache[0][badFile],
39773977
"undefined",
@@ -4053,7 +4053,7 @@ describe("LegacyESLint", () => {
40534053
"the cache file already exists and wasn't successfully deleted",
40544054
);
40554055

4056-
fs.writeFileSync(cacheFilePath, "[]"); // intentionally invalid to additionally make sure it isn't used
4056+
fs.writeFileSync(cacheFilePath, "[]"); // intenationally invalid to additionally make sure it isn't used
40574057

40584058
eslint = new LegacyESLint({
40594059
cwd: path.join(fixtureDir, ".."),
@@ -4089,7 +4089,7 @@ describe("LegacyESLint", () => {
40894089
"the cache file already exists and wasn't successfully deleted",
40904090
);
40914091

4092-
fs.writeFileSync(cacheFilePath, "[]"); // intentionally invalid to additionally make sure it isn't used
4092+
fs.writeFileSync(cacheFilePath, "[]"); // intenationally invalid to additionally make sure it isn't used
40934093

40944094
eslint = new LegacyESLint({
40954095
cwd: path.join(fixtureDir, ".."),
@@ -4165,7 +4165,7 @@ describe("LegacyESLint", () => {
41654165
"the cache file already exists and wasn't successfully deleted",
41664166
);
41674167

4168-
fs.writeFileSync(cacheFilePath, "[]"); // intentionally invalid to additionally make sure it isn't used
4168+
fs.writeFileSync(cacheFilePath, "[]"); // intenationally invalid to additionally make sure it isn't used
41694169

41704170
eslint = new LegacyESLint({
41714171
cwd: path.join(fixtureDir, ".."),
@@ -4290,7 +4290,7 @@ describe("LegacyESLint", () => {
42904290
* Run 1: Lint result wasn't already cached.
42914291
* Run 2: Lint result was already cached. The cached lint result is used but the cache is reconciled before the run ends.
42924292
* Run 3: Lint result was already cached. The cached lint result was being used throughout the previous run, so possible
4293-
* mutations in the previous run that occurred after the cache was reconciled may have side effects for this run.
4293+
* mutations in the previous run that occured after the cache was reconciled may have side effects for this run.
42944294
*/
42954295
for (let i = 0; i < 3; i++) {
42964296
const [result] = await eslint.lintFiles([filePath]);
@@ -4359,7 +4359,7 @@ describe("LegacyESLint", () => {
43594359
* Run 1: Lint result wasn't already cached.
43604360
* Run 2: Lint result was already cached. The cached lint result is used but the cache is reconciled before the run ends.
43614361
* Run 3: Lint result was already cached. The cached lint result was being used throughout the previous run, so possible
4362-
* mutations in the previous run that occurred after the cache was reconciled may have side effects for this run.
4362+
* mutations in the previous run that occured after the cache was reconciled may have side effects for this run.
43634363
*/
43644364
for (let i = 0; i < 3; i++) {
43654365
const [result] = await eslint.lintFiles([filePath]);

tests/performance/jshint.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4035,16 +4035,16 @@ var JSHINT;
40354035
30,
40364036
);
40374037

4038-
var orPrecedence = 40;
4038+
var orPrecendence = 40;
40394039
infix(
40404040
"||",
40414041
function (left, that) {
40424042
increaseComplexityCount();
40434043
that.left = left;
4044-
that.right = expression(orPrecedence);
4044+
that.right = expression(orPrecendence);
40454045
return that;
40464046
},
4047-
orPrecedence,
4047+
orPrecendence,
40484048
);
40494049
infix("&&", "and", 50);
40504050
bitwise("|", "bitor", 70);
@@ -6938,7 +6938,7 @@ var JSHINT;
69386938
FutureReservedWord("transient");
69396939
FutureReservedWord("volatile");
69406940

6941-
// this function is used to determine whether a squarebracket or a curlybracket
6941+
// this function is used to determine wether a squarebracket or a curlybracket
69426942
// expression is a comprehension array, destructuring assignment or a json value.
69436943

69446944
var lookupBlockType = function () {

0 commit comments

Comments
 (0)