Skip to content

Commit 7cdf5b1

Browse files
authored
fix: linter fix to make pr checks pass (#137)
* fix: linter fix to make pr checks pass This commit was made without the use of generative AI. Signed-off-by: Jacob Schlecht <dadadah@echoha.us> * fix: add missing eslint library This commit was made without the use of generative AI. Signed-off-by: Jacob Schlecht <dadadah@echoha.us> --------- Signed-off-by: Jacob Schlecht <dadadah@echoha.us>
1 parent 4a1b1ad commit 7cdf5b1

4 files changed

Lines changed: 28 additions & 4 deletions

File tree

eslint.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,17 @@ export default defineConfig([
88
eslint.configs.recommended,
99
tseslint.configs.recommended,
1010
solid,
11+
prettier,
1112
{
1213
rules: {
1314
"@typescript-eslint/no-unused-vars": [
1415
"warn",
1516
{
1617
caughtErrors: "all",
1718
varsIgnorePattern: "^_",
19+
argsIgnorePattern: "^_",
1820
},
1921
],
2022
},
2123
},
22-
prettier,
2324
]);

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
"ulid": "^3.0.2"
3636
},
3737
"devDependencies": {
38+
"@eslint/js": "^9.39.1",
3839
"@mxssfd/typedoc-theme": "^1.1.7",
3940
"@trivago/prettier-plugin-sort-imports": "^5.2.2",
4041
"@types/node": "^22.15.17",

pnpm-lock.yaml

Lines changed: 24 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/events/EventClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ export class EventClient<
9595
#connectTimeoutReference: number | undefined;
9696

9797
#lastError: // eslint-disable-next-line @typescript-eslint/no-explicit-any
98-
{ type: "socket"; data: any } | { type: "revolt"; data: Error } | undefined;
98+
{ type: "socket"; data: any } | { type: "revolt"; data: Error } | undefined;
9999

100100
/**
101101
* Create a new event client.

0 commit comments

Comments
 (0)