first commit

This commit is contained in:
2026-07-12 15:55:18 +05:30
commit ee98026cc5
404 changed files with 44522 additions and 0 deletions
+58
View File
@@ -0,0 +1,58 @@
import { dirname } from "node:path";
import { fileURLToPath } from "node:url";
import js from "@eslint/js";
import tseslint from "typescript-eslint";
const tsconfigRootDir = dirname(fileURLToPath(import.meta.url));
export default tseslint.config(
{
ignores: [
"node_modules/**",
"dist/**",
"**/dist/**",
".publish/**",
"**/.wrnexus/**",
"coverage/**",
"bun.lock",
"bun.lockb",
"**/*.gen.ts",
"editors/vscode/src/compiler.cjs",
],
},
{
languageOptions: {
parserOptions: {
tsconfigRootDir,
},
},
},
js.configs.recommended,
...tseslint.configs.recommended,
{
// The VS Code extension is plain CommonJS/ESM running on Node, not framework TS.
files: ["editors/vscode/**/*.{js,mjs}"],
rules: {
"no-undef": "off",
"no-console": "off",
"@typescript-eslint/no-require-imports": "off",
"@typescript-eslint/no-unused-expressions": "off",
},
},
{
files: ["**/*.{ts,tsx}"],
rules: {
"no-undef": "off",
"no-console": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unused-vars": [
"warn",
{
argsIgnorePattern: "^_",
varsIgnorePattern: "^_",
caughtErrorsIgnorePattern: "^_",
},
],
},
},
);