Squashed 'ai-context/trustgraph-client/' content from commit 908f18cf

git-subtree-dir: ai-context/trustgraph-client
git-subtree-split: 908f18cf814470ec3b72cc336bb945fb792ffdec
This commit is contained in:
elpresidank 2026-04-05 21:07:35 -05:00
commit deff028fed
27 changed files with 6278 additions and 0 deletions

35
eslint.config.js Normal file
View file

@ -0,0 +1,35 @@
import js from "@eslint/js";
import tseslint from "typescript-eslint";
import globals from "globals";
export default tseslint.config(
js.configs.recommended,
...tseslint.configs.recommended,
{
files: ["**/*.{ts,tsx}"],
languageOptions: {
parser: tseslint.parser,
parserOptions: {
ecmaVersion: "latest",
sourceType: "module",
},
globals: {
...globals.browser,
...globals.es2021,
},
},
rules: {
"@typescript-eslint/no-unused-vars": [
"warn",
{
argsIgnorePattern: "^_",
varsIgnorePattern: "^_",
},
],
"@typescript-eslint/no-explicit-any": "warn",
},
},
{
ignores: ["dist/**", "node_modules/**", "*.config.js"],
},
);