fix: turn off single line jsx expressions

This commit is contained in:
Siddharth Gelera
2025-09-25 19:09:20 +05:30
parent 79837a6715
commit 90e8787e0e
2 changed files with 3 additions and 10 deletions

View File

@@ -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'],
},
},
{

View File

@@ -82,10 +82,7 @@ const WSAuth = ({ item, collection }) => {
<>
<div className="flex flex-row w-full mt-2 gap-2">
<div>
OAuth 2 not
<strong>yet</strong>
{' '}
supported by WebSockets. Using no auth instead.
OAuth 2 not <strong>yet</strong> supported by WebSockets. Using no auth instead.
</div>
</div>
</>
@@ -100,12 +97,7 @@ const WSAuth = ({ item, collection }) => {
return (
<>
<div className="flex flex-row w-full mt-2 gap-2">
<div>
Auth inherited from
{source.name}
:
{' '}
</div>
<div> Auth inherited from {source.name}: </div>
<div className="inherit-mode-text">{humanizeRequestAuthMode(source.auth?.mode)}</div>
</div>
</>