Skip to content

Commit e319763

Browse files
authored
Use Biome for formatting and linting (#35)
1 parent a4f2fc4 commit e319763

35 files changed

+1296
-4856
lines changed

.github/workflows/test.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,5 +62,4 @@ jobs:
6262
with:
6363
node-version-file: ".nvmrc"
6464
- run: npm install
65-
- run: npm run prettier:check
6665
- run: npm run lint:check

biome.json

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"$schema": "https://biomejs.dev/schemas/2.2.4/schema.json",
3+
"vcs": {
4+
"enabled": true,
5+
"clientKind": "git",
6+
"useIgnoreFile": true
7+
},
8+
"files": {
9+
"ignoreUnknown": false
10+
},
11+
"formatter": {
12+
"enabled": true,
13+
"indentStyle": "space",
14+
"indentWidth": 2
15+
},
16+
"linter": {
17+
"enabled": true,
18+
"rules": {
19+
"recommended": true,
20+
"correctness": {
21+
"useImportExtensions": {
22+
"level": "error",
23+
"options": {
24+
"forceJsExtensions": true
25+
}
26+
}
27+
}
28+
}
29+
},
30+
"javascript": {
31+
"formatter": {
32+
"quoteStyle": "double"
33+
}
34+
},
35+
"assist": {
36+
"enabled": true,
37+
"actions": {
38+
"source": {
39+
"organizeImports": "on"
40+
}
41+
}
42+
}
43+
}

eslint.config.mjs

Lines changed: 0 additions & 42 deletions
This file was deleted.

manifest.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,11 @@
1515
"entry_point": "dist/index.js",
1616
"mcp_config": {
1717
"command": "node",
18-
"args": [
19-
"${__dirname}/dist/index.js"
20-
],
18+
"args": ["${__dirname}/dist/index.js"],
2119
"env": {
2220
"GENESYSCLOUD_REGION": "${user_config.genesys_cloud_region}",
2321
"GENESYSCLOUD_OAUTHCLIENT_ID": "${user_config.genesys_cloud_oauth_client_id}",
24-
"GENESYSCLOUD_OAUTHCLIENT_SECRET": "${user_config.genesys_cloud_oauth_client_secret}"
22+
"GENESYSCLOUD_OAUTHCLIENT_SECRET": "${user_config.genesys_cloud_oauth_client_secret}"
2523
}
2624
}
2725
},

0 commit comments

Comments
 (0)