Skip to content

Commit b344355

Browse files
committed
fix some linting stuff
2 parents 9170b69 + 7a2af46 commit b344355

File tree

4 files changed

+18
-12
lines changed

4 files changed

+18
-12
lines changed

packages/adapter-sqljs/src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export class SqlJsDatabaseAdapter
7575
tableName: string;
7676
}): Promise<Memory[]> {
7777
const placeholders = params.roomIds.map(() => "?").join(", ");
78-
let sql = `SELECT * FROM memories WHERE 'type' = ? AND agentId = ? AND roomId IN (${placeholders})`;
78+
const sql = `SELECT * FROM memories WHERE 'type' = ? AND agentId = ? AND roomId IN (${placeholders})`;
7979
const stmt = this.db.prepare(sql);
8080
const queryParams = [params.tableName, params.agentId, ...params.roomIds];
8181
console.log({ queryParams })

packages/core/.eslintignore

-8
This file was deleted.

packages/core/eslint.config.mjs

+15-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
11
import eslintGlobalConfig from "../../eslint.global.mjs";
22

3-
export default [...eslintGlobalConfig];
3+
export default [
4+
{
5+
ignores: [
6+
'**/node_modules/*',
7+
'**/coverage/*',
8+
'**/dist/*',
9+
'**/types/*',
10+
'**/scripts/concatenated-output.ts',
11+
'rollup.config.js',
12+
'jest.config.js',
13+
'docs/'
14+
]
15+
},
16+
...eslintGlobalConfig
17+
];

packages/plugin-bootstrap/src/providers/time.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ const timeProvider: Provider = {
77
// Get UTC time since bots will be communicating with users around the global
88
const options = {
99
timeZone: "UTC",
10-
dateStyle: "full" as "full",
11-
timeStyle: "long" as "long",
10+
dateStyle: "full" as const,
11+
timeStyle: "long" as const,
1212
};
1313
const humanReadable = new Intl.DateTimeFormat("en-US", options).format(
1414
currentDate

0 commit comments

Comments
 (0)