mirror of
https://github.com/ruvnet/RuVector.git
synced 2026-07-09 17:28:42 +00:00
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:
parent
f3c3096008
commit
e7330cd6a2
2 changed files with 4 additions and 1 deletions
|
|
@ -36,6 +36,8 @@
|
|||
"coverage",
|
||||
"*.config.js",
|
||||
"*.config.ts",
|
||||
"bin"
|
||||
"bin",
|
||||
"**/*.js",
|
||||
"**/*.d.ts"
|
||||
]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue