Skip to content

Commit d6bd4c6

Browse files
committed
refactor: align scripts with project coding standards
- Remove unused fileURLToPath and dirname imports from generate-report.js - Enhance package.json with description and dependency metadata - Improves code clarity and dependency documentation
1 parent 2bf4124 commit d6bd4c6

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.claude/skills/web-accessibility-checker/scripts/generate-report.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,6 @@
1414
*/
1515

1616
import fs from 'fs';
17-
import { fileURLToPath } from 'url';
18-
import { dirname } from 'path';
19-
20-
const __filename = fileURLToPath(import.meta.url);
21-
const __dirname = dirname(__filename);
2217

2318
/**
2419
* Generate formatted accessibility compliance reports
Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
11
{
2-
"type": "module"
2+
"type": "module",
3+
"description": "Web accessibility checker scripts for WCAG 2.2 Level AA compliance",
4+
"dependencies": {
5+
"playwright": "^1.40.0",
6+
"@axe-core/playwright": "^4.8.0",
7+
"jsdom": "^23.0.0"
8+
}
39
}

0 commit comments

Comments
 (0)