strengthen repo verification and runtime coverage

Add clearer app docs plus targeted desktop, CLI, web, and worker tests so cross-surface regressions are caught earlier and the repo is easier to navigate.
This commit is contained in:
nocxcloud-oss 2026-04-15 19:10:41 +08:00
parent 2133d7226f
commit 4239f9f1ef
63 changed files with 3678 additions and 764 deletions

View file

@ -0,0 +1,37 @@
import js from "@eslint/js";
import globals from "globals";
import tseslint from "typescript-eslint";
import { defineConfig, globalIgnores } from "eslint/config";
export default defineConfig([
globalIgnores(["dist/**"]),
{
files: ["src/**/*.ts"],
extends: [js.configs.recommended, ...tseslint.configs.recommended],
languageOptions: {
globals: {
...globals.node,
},
},
rules: {
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unused-expressions": "off",
"@typescript-eslint/no-unused-vars": "off",
"no-case-declarations": "off",
"no-useless-escape": "off",
"prefer-const": "off",
},
},
{
files: ["test/**/*.mjs", "bin/**/*.js"],
extends: [js.configs.recommended],
languageOptions: {
globals: {
...globals.node,
},
},
rules: {
"no-unused-vars": "off",
},
},
]);