mirror of
https://github.com/usebruno/bruno.git
synced 2026-06-24 13:15:40 +00:00
fix: turn off single line jsx expressions
This commit is contained in:
@@ -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'],
|
||||
},
|
||||
},
|
||||
{
|
||||
|
||||
@@ -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>
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user