From 90e8787e0e4bcfdd357765e10ad7c0207aa3ff21 Mon Sep 17 00:00:00 2001 From: Siddharth Gelera Date: Thu, 25 Sep 2025 19:09:20 +0530 Subject: [PATCH] fix: turn off single line jsx expressions --- eslint.config.js | 1 + .../RequestPane/WSRequestPane/WSAuth/index.js | 12 ++---------- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/eslint.config.js b/eslint.config.js index 74751051f..19439f54e 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -62,6 +62,7 @@ module.exports = runESMImports().then(() => defineConfig([ '@stylistic/padding-line-between-statements': ['off'], '@stylistic/semi-style': ['error', 'last'], '@stylistic/max-len': ['off'], + '@stylistic/jsx-one-expression-per-line': ['off'], }, }, { diff --git a/packages/bruno-app/src/components/RequestPane/WSRequestPane/WSAuth/index.js b/packages/bruno-app/src/components/RequestPane/WSRequestPane/WSAuth/index.js index 6f066b682..6791f6670 100644 --- a/packages/bruno-app/src/components/RequestPane/WSRequestPane/WSAuth/index.js +++ b/packages/bruno-app/src/components/RequestPane/WSRequestPane/WSAuth/index.js @@ -82,10 +82,7 @@ const WSAuth = ({ item, collection }) => { <>
- OAuth 2 not - yet - {' '} - supported by WebSockets. Using no auth instead. + OAuth 2 not yet supported by WebSockets. Using no auth instead.
@@ -100,12 +97,7 @@ const WSAuth = ({ item, collection }) => { return ( <>
-
- Auth inherited from - {source.name} - : - {' '} -
+
Auth inherited from {source.name}:
{humanizeRequestAuthMode(source.auth?.mode)}