Add eslint and run linter in workflow

This commit is contained in:
Carlos Fernandez 2026-04-20 17:47:37 -04:00
parent f850cbda76
commit 69adeb7e0e
23 changed files with 974 additions and 36 deletions

View file

@ -200,7 +200,6 @@ export default class DhActiveEffect extends foundry.documents.ActiveEffect {
static effectSafeEval(expression) {
let result;
try {
// eslint-disable-next-line no-new-func
const evl = new Function('sandbox', `with (sandbox) { return ${expression}}`);
result = evl(Roll.MATH_PROXY);
} catch (err) {