Skip to content

Commit

Permalink
ignore these known linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Muttley committed Oct 30, 2023
1 parent 6ccd1bc commit cb8e960
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions system/src/helpers/handlebars.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,12 @@ export const registerHandlebarsHelpers = function() {
Handlebars.registerHelper("ifCond", function(v1, operator, v2, options) {
switch (operator) {
case "==":
// eslint-disable-next-line eqeqeq
return v1 == v2 ? options.fn(this) : options.inverse(this);
case "===":
return v1 === v2 ? options.fn(this) : options.inverse(this);
case "!=":
// eslint-disable-next-line eqeqeq
return v1 != v2 ? options.fn(this) : options.inverse(this);
case "!==":
return v1 !== v2 ? options.fn(this) : options.inverse(this);
Expand Down

0 comments on commit cb8e960

Please sign in to comment.