chore(frontend): enable additional oxlint rules for better code hygiene (#38145)

This commit is contained in:
Evan Rusackas
2026-02-22 22:36:24 -05:00
committed by GitHub
parent a87a006aae
commit 672a380587
27 changed files with 296 additions and 293 deletions

View File

@@ -87,7 +87,7 @@ Handlebars.registerHelper('dateFormat', function (context, block) {
Handlebars.registerHelper('stringify', (obj: any, obj2: any) => {
// calling without an argument
if (obj2 === undefined)
throw Error('Please call with an object. Example: `stringify myObj`');
throw new Error('Please call with an object. Example: `stringify myObj`');
return isPlainObject(obj) ? JSON.stringify(obj) : String(obj);
});