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>
This commit is contained in:
Jacob Schlecht
2026-03-02 21:14:24 -07:00
committed by GitHub
parent 4a1b1addff
commit 7cdf5b1bce
4 changed files with 28 additions and 4 deletions
+2 -1
View File
@@ -8,6 +8,7 @@ export default defineConfig([
eslint.configs.recommended,
tseslint.configs.recommended,
solid,
prettier,
{
rules: {
"@typescript-eslint/no-unused-vars": [
@@ -15,9 +16,9 @@ export default defineConfig([
{
caughtErrors: "all",
varsIgnorePattern: "^_",
argsIgnorePattern: "^_",
},
],
},
},
prettier,
]);
+1
View File
@@ -35,6 +35,7 @@
"ulid": "^3.0.2"
},
"devDependencies": {
"@eslint/js": "^9.39.1",
"@mxssfd/typedoc-theme": "^1.1.7",
"@trivago/prettier-plugin-sort-imports": "^5.2.2",
"@types/node": "^22.15.17",
+24 -2
View File
@@ -30,6 +30,9 @@ importers:
specifier: ^3.0.2
version: 3.0.2
devDependencies:
'@eslint/js':
specifier: ^9.39.1
version: 9.39.3
'@mxssfd/typedoc-theme':
specifier: ^1.1.7
version: 1.1.7(typedoc@0.27.9(typescript@5.8.3))
@@ -44,7 +47,7 @@ importers:
version: 9.26.0
eslint-plugin-prettier:
specifier: ^5.4.0
version: 5.4.0(eslint@9.26.0)(prettier@3.5.3)
version: 5.4.0(eslint-config-prettier@10.1.8(eslint@9.26.0))(eslint@9.26.0)(prettier@3.5.3)
eslint-plugin-solid:
specifier: ^0.14.5
version: 0.14.5(eslint@9.26.0)(typescript@5.8.3)
@@ -126,6 +129,10 @@ packages:
resolution: {integrity: sha512-I9XlJawFdSMvWjDt6wksMCrgns5ggLNfFwFvnShsleWruvXM514Qxk8V246efTw+eo9JABvVz+u3q2RiAowKxQ==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
'@eslint/js@9.39.3':
resolution: {integrity: sha512-1B1VkCq6FuUNlQvlBYb+1jDu/gV297TIs/OeiaSR9l1H27SVW55ONE1e1Vp16NqP683+xEGzxYtv4XCiDPaQiw==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
'@eslint/object-schema@2.1.6':
resolution: {integrity: sha512-RBMg5FRL0I0gs51M/guSAj5/e14VQ4tpZnQNWwuDT66P14I43ItmPfIZRhO9fUVIPOAQXU47atlywZ/czoqFPA==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
@@ -460,6 +467,12 @@ packages:
resolution: {integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==}
engines: {node: '>=10'}
eslint-config-prettier@10.1.8:
resolution: {integrity: sha512-82GZUjRS0p/jganf6q1rEO25VSoHH0hKPCTrgillPjdI/3bgBhAE1QzHrHTizjpRvy6pGAvKjDJtk2pF9NDq8w==}
hasBin: true
peerDependencies:
eslint: '>=7.0.0'
eslint-plugin-prettier@5.4.0:
resolution: {integrity: sha512-BvQOvUhkVQM1i63iMETK9Hjud9QhqBnbtT1Zc642p9ynzBuCe5pybkOnvqZIBypXmMlsGcnU4HZ8sCTPfpAexA==}
engines: {node: ^14.18.0 || >=16.0.0}
@@ -1177,6 +1190,8 @@ snapshots:
'@eslint/js@9.26.0': {}
'@eslint/js@9.39.3': {}
'@eslint/object-schema@2.1.6': {}
'@eslint/plugin-kit@0.2.8':
@@ -1524,12 +1539,19 @@ snapshots:
escape-string-regexp@4.0.0: {}
eslint-plugin-prettier@5.4.0(eslint@9.26.0)(prettier@3.5.3):
eslint-config-prettier@10.1.8(eslint@9.26.0):
dependencies:
eslint: 9.26.0
optional: true
eslint-plugin-prettier@5.4.0(eslint-config-prettier@10.1.8(eslint@9.26.0))(eslint@9.26.0)(prettier@3.5.3):
dependencies:
eslint: 9.26.0
prettier: 3.5.3
prettier-linter-helpers: 1.0.0
synckit: 0.11.4
optionalDependencies:
eslint-config-prettier: 10.1.8(eslint@9.26.0)
eslint-plugin-solid@0.14.5(eslint@9.26.0)(typescript@5.8.3):
dependencies:
+1 -1
View File
@@ -95,7 +95,7 @@ export class EventClient<
#connectTimeoutReference: number | undefined;
#lastError: // eslint-disable-next-line @typescript-eslint/no-explicit-any
{ type: "socket"; data: any } | { type: "revolt"; data: Error } | undefined;
{ type: "socket"; data: any } | { type: "revolt"; data: Error } | undefined;
/**
* Create a new event client.