Skip to content

Commit 69af5ff

Browse files
authored
Merge pull request elizaOS#3255 from AIFlowML/fix-client-alexa
fix: client-alexa
2 parents a12c696 + a7c3da0 commit 69af5ff

File tree

4 files changed

+49
-4
lines changed

4 files changed

+49
-4
lines changed

packages/client-alexa/biome.json

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"$schema": "https://biomejs.dev/schemas/1.5.3/schema.json",
3+
"organizeImports": {
4+
"enabled": false
5+
},
6+
"linter": {
7+
"enabled": true,
8+
"rules": {
9+
"recommended": true,
10+
"correctness": {
11+
"noUnusedVariables": "error"
12+
},
13+
"suspicious": {
14+
"noExplicitAny": "error"
15+
},
16+
"style": {
17+
"useConst": "error",
18+
"useImportType": "off"
19+
}
20+
}
21+
},
22+
"formatter": {
23+
"enabled": true,
24+
"indentStyle": "space",
25+
"indentWidth": 4,
26+
"lineWidth": 100
27+
},
28+
"javascript": {
29+
"formatter": {
30+
"quoteStyle": "single",
31+
"trailingCommas": "es5"
32+
}
33+
},
34+
"files": {
35+
"ignore": [
36+
"dist/**/*",
37+
"extra/**/*",
38+
"node_modules/**/*"
39+
]
40+
}
41+
}

packages/client-alexa/package.json

+6-2
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,17 @@
2626
"axios": "1.7.9"
2727
},
2828
"devDependencies": {
29-
"tsup": "8.3.5",
29+
"@biomejs/biome": "1.5.3",
30+
"tsup": "^8.3.5",
3031
"vitest": "1.2.1"
3132
},
3233
"scripts": {
3334
"build": "tsup --format esm --dts",
3435
"dev": "tsup --format esm --dts --watch",
35-
"lint": "eslint --fix --cache .",
36+
"lint": "biome check src/",
37+
"lint:fix": "biome check --apply src/",
38+
"format": "biome format src/",
39+
"format:fix": "biome format --write src/",
3640
"test": "vitest run"
3741
}
3842
}

packages/client-alexa/src/alexa-client.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { elizaLogger, IAgentRuntime } from "@elizaos/core";
1+
import { elizaLogger, type IAgentRuntime } from "@elizaos/core";
22
import { DefaultApiClient } from "ask-sdk-core";
33
import { services } from "ask-sdk-model";
44
import axios from "axios";

packages/client-alexa/src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Client, IAgentRuntime, elizaLogger } from "@elizaos/core";
1+
import { type Client, type IAgentRuntime, elizaLogger } from "@elizaos/core";
22
import { AlexaClient } from "./alexa-client";
33

44
export const AlexaClientInterface: Client = {

0 commit comments

Comments
 (0)