add linter and formatter

This commit is contained in:
2026-06-21 14:43:44 +02:00
parent dd507ca515
commit b1b76522b8
11 changed files with 10534 additions and 342 deletions
+6
View File
@@ -7,10 +7,16 @@
"type": "commonjs",
"main": "index.js",
"scripts": {
"fmt": "oxfmt",
"lint": "oxlint",
"test": "echo \"Error: no test specified\" && exit 1"
},
"dependencies": {
"chess.js": "^1.4.0",
"chessground": "^9.2.1"
},
"devDependencies": {
"oxfmt": "^0.55.0",
"oxlint": "^1.70.0"
}
}