fix(lint): resolve ESLint errors in agentic-synth package

- Ignore compiled .js and .d.ts files in ESLint config (they use CommonJS require/var)
- Add eslint-disable comment for unavoidable require() import in dspy benchmark TS file

Co-Authored-By: claude-flow <ruv@ruv.net>
This commit is contained in:
ruvnet 2026-05-22 06:14:56 -04:00
parent f3c3096008
commit e7330cd6a2
2 changed files with 4 additions and 1 deletions

View file

@ -36,6 +36,8 @@
"coverage",
"*.config.js",
"*.config.ts",
"bin"
"bin",
"**/*.js",
"**/*.d.ts"
]
}

View file

@ -23,6 +23,7 @@ import * as path from 'path';
// Import real dspy.ts components from dist/src
// Note: dspy.ts package main entry needs dist/src prefix
// eslint-disable-next-line @typescript-eslint/no-require-imports
const dspy = require('dspy.ts/dist/src/index');
const {
configureLM,