Convert gitgram/ and aitimemachine/ from embedded git repos (which showed as opaque submodule gitlinks on GitHub) into fully-tracked first-party content. AITM now merges its 7 vendored repos as first-party engines: - memory: beads (Go task DAG) + context7 (docs SDK), unified into saved_contexts - git: vendored C git (bundled binary) + gitnexus (in-process code intelligence) - agentic: a2a (@a2a-js/sdk) + pal (AITM-managed Python subprocess) Includes the full session's product build: Gitgram web/mobile/backend features, AITM website/CLI/MCP, the unified memory layer, engine build tooling (scripts/build-engines.sh, Dockerfile, CI), docs (README, ENGINES.md, ARCHITECTURE.md), and extensive test suites. Build artifacts, node_modules, external/, and gemini-cli are gitignored. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
48 lines
1.4 KiB
JavaScript
48 lines
1.4 KiB
JavaScript
import { defineConfig } from "eslint/config";
|
|
import tseslint from "typescript-eslint";
|
|
import eslintPluginPrettier from "eslint-plugin-prettier";
|
|
|
|
export default defineConfig(
|
|
{
|
|
// Base ESLint configuration
|
|
ignores: ["node_modules/**", "build/**", "dist/**", ".git/**", ".github/**", "tsup.config.ts", "vitest.config.ts"],
|
|
},
|
|
{
|
|
files: ["**/*.ts", "**/*.tsx"],
|
|
languageOptions: {
|
|
ecmaVersion: 2020,
|
|
sourceType: "module",
|
|
parser: tseslint.parser,
|
|
parserOptions: {
|
|
project: "./tsconfig.json",
|
|
tsconfigRootDir: import.meta.dirname,
|
|
},
|
|
globals: {
|
|
// Add Node.js globals
|
|
process: "readonly",
|
|
require: "readonly",
|
|
module: "writable",
|
|
console: "readonly",
|
|
},
|
|
},
|
|
// Settings for all files
|
|
linterOptions: {
|
|
reportUnusedDisableDirectives: true,
|
|
},
|
|
plugins: {
|
|
"@typescript-eslint": tseslint.plugin,
|
|
prettier: eslintPluginPrettier,
|
|
},
|
|
rules: {
|
|
// TypeScript recommended rules
|
|
...tseslint.configs.recommended.rules,
|
|
// TypeScript rules
|
|
"@typescript-eslint/explicit-module-boundary-types": "off",
|
|
"@typescript-eslint/no-unused-vars": ["error", { argsIgnorePattern: "^_" }],
|
|
"@typescript-eslint/no-explicit-any": "warn",
|
|
// Prettier integration
|
|
"prettier/prettier": "error",
|
|
},
|
|
}
|
|
);
|