Skip to content

Commit

Permalink
chore: fix typos in source code (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
ericcornelissen authored Feb 20, 2023
1 parent 65f16bd commit d853d87
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/lib/reporter.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ class Reporter extends EventEmitter {
}

/**
* Reports that an exception occured during rule processing.
* Reports that an exception occurred during rule processing.
* This doesn't change the current linting result, but is important to show
* to users as it indicates that the linting result cannot be trusted.
* @param {Error} e The exception that occured.
* @param {Error} e The exception that occurred.
*/
exception(e) {
this.logger.debug("Exception reported:", e);
Expand Down
2 changes: 1 addition & 1 deletion test/attr.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ describe("Rule: attr", function(){
"rule::selector": "svg",
});
});
it("should fail with a non-existant attribute when given regex", function(){
it("should fail with a non-existent attribute when given regex", function(){
return testFails({
"foo": /^img$/,
"rule::selector": "svg",
Expand Down

0 comments on commit d853d87

Please sign in to comment.