mirror of
https://github.com/Heretek-Games/dropworks-sdk.git
synced 2026-11-07 10:05:57 -10:00
Add eslint.config.mjs (eslint:recommended + typescript-eslint recommended, type-unaware) with a `lint` script and a CI step. Rules that need a baseline cleanup pass (no-explicit-any, ban-ts-comment, no-useless-assignment, preserve-caught-error) are warnings; core rules and unused vars are errors. Refs Heretek-Games/drop#69 (audit finding F-23).
22 lines
555 B
JSON
22 lines
555 B
JSON
{
|
|
"name": "@heretek-games/dropworks-sdk",
|
|
"version": "0.1.0",
|
|
"description": "Dropworks native game SDK for C/C++, Rust, C#, and GDScript bindings",
|
|
"type": "module",
|
|
"main": "dist/src/index.js",
|
|
"scripts": {
|
|
"build": "rm -rf dist && tsc",
|
|
"test": "node --test dist/test/*.js",
|
|
"typecheck": "tsc --noEmit",
|
|
"lint": "eslint ."
|
|
},
|
|
"devDependencies": {
|
|
"typescript": "^5.7.0",
|
|
"@types/node": "^22.0.0",
|
|
"@eslint/js": "^10.0.1",
|
|
"eslint": "^10.9.1",
|
|
"typescript-eslint": "^8.68.0"
|
|
},
|
|
"license": "MIT"
|
|
}
|