chore(ci): silence linter
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Thu, 25 Jul 2024 17:50:04 +0000 (19:50 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Thu, 25 Jul 2024 17:50:04 +0000 (19:50 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
eslint.config.js
examples/typescript/http-server-pool/express-cluster/src/main.ts
examples/typescript/http-server-pool/express-hybrid/src/main.ts
examples/typescript/http-server-pool/fastify-cluster/src/main.ts
examples/typescript/http-server-pool/fastify-hybrid/src/main.ts
examples/typescript/websocket-server-pool/ws-cluster/src/main.ts
examples/typescript/websocket-server-pool/ws-hybrid/src/main.ts

index 7cfd1fe189f9fae2da632d548895c2cbca8019fc..f83a135ae3e71b5ca139e48c661b07276d651e9b 100644 (file)
@@ -95,6 +95,7 @@ export default defineFlatConfig([
       '@typescript-eslint/no-unnecessary-type-assertion': 'off',
       '@typescript-eslint/no-redundant-type-constituents': 'off',
       '@typescript-eslint/return-await': 'off',
+      '@typescript-eslint/restrict-template-expressions': 'off',
     },
   },
   {
index 0b7c45b18d7a8aa73d2edb14535ab8a229e1c7a8..bde791703bd6e636b0484163dc5bee6845fcf31a 100644 (file)
@@ -21,7 +21,6 @@ const pool = new FixedClusterPool<WorkerData, WorkerResponse>(
         .then(response => {
           if (response.status) {
             console.info(
-              // eslint-disable-next-line @typescript-eslint/restrict-template-expressions
               `Express is listening in cluster worker on port ${response.port?.toString()}`
             )
           }
index d7b6c89d1b76f45b335f357405c08f25dd6aa13c..3abecad8be99d83cc8e8e8ff72dc9a504da85a36 100644 (file)
@@ -40,7 +40,6 @@ const pool = new FixedClusterPool<ClusterWorkerData, ClusterWorkerResponse>(
         .then(response => {
           if (response.status) {
             console.info(
-              // eslint-disable-next-line @typescript-eslint/restrict-template-expressions
               `Express is listening in cluster worker on port ${response.port?.toString()}`
             )
           }
index a548b13ddeed7d04630b4876cb9f5b366d0d4f4b..2afc6538abba388d95a8daefd93058c637afa75b 100644 (file)
@@ -21,7 +21,6 @@ const pool = new FixedClusterPool<WorkerData, WorkerResponse>(
         .then(response => {
           if (response.status) {
             console.info(
-              // eslint-disable-next-line @typescript-eslint/restrict-template-expressions
               `Fastify is listening in cluster worker on port ${response.port?.toString()}`
             )
           }
index 74ed1f70158ce7876e717ab844cd16e8e7a3b58f..606e77660eafc352dbbd9c4c442436fae646e0f0 100644 (file)
@@ -40,7 +40,6 @@ const pool = new FixedClusterPool<ClusterWorkerData, ClusterWorkerResponse>(
         .then(response => {
           if (response.status) {
             console.info(
-              // eslint-disable-next-line @typescript-eslint/restrict-template-expressions
               `Fastify is listening in cluster worker on port ${response.port?.toString()}`
             )
           }
index 6e108d6f87efe1efcaf4ebfb91ef34319b06b37c..1950fec3b6287c24e4f5afda45ad09437d504f69 100644 (file)
@@ -21,7 +21,6 @@ const pool = new FixedClusterPool<WorkerData, WorkerResponse>(
         .then(response => {
           if (response.status) {
             console.info(
-              // eslint-disable-next-line @typescript-eslint/restrict-template-expressions
               `WebSocket server is listening in cluster worker on port ${response.port?.toString()}`
             )
           }
index 400f0beed3e2a790fd8306e6f70f183f36819213..005680f5362a548e36dbe784ed425f8ff4cd96ee 100644 (file)
@@ -40,7 +40,6 @@ const pool = new FixedClusterPool<ClusterWorkerData, ClusterWorkerResponse>(
         .then(response => {
           if (response.status) {
             console.info(
-              // eslint-disable-next-line @typescript-eslint/restrict-template-expressions
               `WebSocket server is listening in cluster worker on port ${response.port?.toString()}`
             )
           }