Add ESLint config and Node.js test suite (198/198 passing)

This commit is contained in:
Dieter Schlüter 2026-04-06 16:57:32 +02:00
commit b8f6889cb4
5 changed files with 1538 additions and 2 deletions

16
package.json Normal file
View file

@ -0,0 +1,16 @@
{
"name": "sorting-visualization",
"version": "1.0.0",
"description": "Sorting algorithm visualization - single-file HTML app",
"private": true,
"scripts": {
"lint": "eslint sorting_visualization.html",
"test": "node test_algorithms.js",
"test:verbose": "node test_algorithms.js --verbose"
},
"devDependencies": {
"eslint": "^9.0.0",
"@eslint/js": "^9.0.0",
"globals": "^16.0.0"
}
}