diff --git a/packages/adapter-sqljs/src/index.ts b/packages/adapter-sqljs/src/index.ts index 9ef2d871d53..a7c6588c54c 100644 --- a/packages/adapter-sqljs/src/index.ts +++ b/packages/adapter-sqljs/src/index.ts @@ -75,7 +75,7 @@ export class SqlJsDatabaseAdapter tableName: string; }): Promise { const placeholders = params.roomIds.map(() => "?").join(", "); - let sql = `SELECT * FROM memories WHERE 'type' = ? AND agentId = ? AND roomId IN (${placeholders})`; + const sql = `SELECT * FROM memories WHERE 'type' = ? AND agentId = ? AND roomId IN (${placeholders})`; const stmt = this.db.prepare(sql); const queryParams = [params.tableName, params.agentId, ...params.roomIds]; console.log({ queryParams }) diff --git a/packages/core/.eslintignore b/packages/core/.eslintignore deleted file mode 100644 index d7ff8d9f799..00000000000 --- a/packages/core/.eslintignore +++ /dev/null @@ -1,8 +0,0 @@ -**/node_modules/* -**/coverage/* -**/dist/* -**/types/* -**/scripts/concatenated-output.ts -rollup.config.js -jest.config.js -docs/ \ No newline at end of file diff --git a/packages/core/eslint.config.mjs b/packages/core/eslint.config.mjs index c6b6b1a9daa..7166ea87f3e 100644 --- a/packages/core/eslint.config.mjs +++ b/packages/core/eslint.config.mjs @@ -1,3 +1,17 @@ import eslintGlobalConfig from "../../eslint.global.mjs"; -export default [...eslintGlobalConfig]; +export default [ + { + ignores: [ + '**/node_modules/*', + '**/coverage/*', + '**/dist/*', + '**/types/*', + '**/scripts/concatenated-output.ts', + 'rollup.config.js', + 'jest.config.js', + 'docs/' + ] + }, + ...eslintGlobalConfig +]; diff --git a/packages/plugin-bootstrap/src/providers/time.ts b/packages/plugin-bootstrap/src/providers/time.ts index 67713b04847..ceb6f4a8695 100644 --- a/packages/plugin-bootstrap/src/providers/time.ts +++ b/packages/plugin-bootstrap/src/providers/time.ts @@ -7,8 +7,8 @@ const timeProvider: Provider = { // Get UTC time since bots will be communicating with users around the global const options = { timeZone: "UTC", - dateStyle: "full" as "full", - timeStyle: "long" as "long", + dateStyle: "full" as const, + timeStyle: "long" as const, }; const humanReadable = new Intl.DateTimeFormat("en-US", options).format( currentDate