fix: resolve linting errors

- Remove duplicate node:path import in test/icon-validation.test.ts
- Replace 4 instances of 'any' type with 'unknown' in error handlers
- Auto-format code with prettier (27 formatting fixes)

Addresses review feedback from PR #136
All 6 errors and 27 warnings resolved
This commit is contained in:
Bryan Thompson 2025-10-30 07:53:06 -05:00
commit 55e3c3cfd8
No known key found for this signature in database
GPG key ID: 1D66D91917EE02E6

View file

@ -59,7 +59,7 @@ function validateIcon(
// Check for ${__dirname} variable (error - doesn't work)
if (hasVariableSubstitution) {
errors.push(
'Icon path should not use ${__dirname} variable substitution. ' +
"Icon path should not use ${__dirname} variable substitution. " +
'Use a simple relative path like "icon.png" instead of "${__dirname}/icon.png".',
);
}