@eagleoutice/flowr - v2.15.8
Preparing search index...
src/linter/rules/unclosed-connection
UNCLOSED_CONNECTION
Variable UNCLOSED_CONNECTION
Const
UNCLOSED_CONNECTION
:
{
createSearch
:
()
=>
FlowrSearchBuilderOut
<
"all"
,
[
]
,
ParentInformation
,
"filter"
,
>
;
info
:
{
certainty
:
BestEffort
;
defaultConfig
:
{
closeFns
:
readonly
[
]
;
openFns
:
readonly
[
]
}
;
description
:
"Flags connections that are opened but not closed on every path opening them."
;
name
:
"Unclosed Connection"
;
tags
:
readonly
[
Robustness
,
Smell
]
;
}
;
prettyPrint
:
{
full
:
(
result
:
LintingResult
)
=>
string
;
query
:
(
result
:
LintingResult
)
=>
string
;
}
;
processSearchResult
:
(
elements
:
FlowrSearchElements
<
ParentInformation
,
FlowrSearchElement
<
(...)
>
[]
,
>
,
config
:
UnclosedConnectionConfig
,
data
:
ReadonlyFlowrAnalysisProvider
<
KnownParser
>
,
)
=>
Promise
<
{
".meta"
:
{
totalClosed
:
...
;
totalOpened
:
...
}
;
results
:
(...)
[]
}
,
>
;
}
= ...
Type Declaration
Readonly
createSearch
:
()
=>
FlowrSearchBuilderOut
<
"all"
,
[
]
,
ParentInformation
,
"filter"
>
Readonly
info
:
{
certainty
:
BestEffort
;
defaultConfig
:
{
closeFns
:
readonly
[
]
;
openFns
:
readonly
[
]
}
;
description
:
"Flags connections that are opened but not closed on every path opening them."
;
name
:
"Unclosed Connection"
;
tags
:
readonly
[
Robustness
,
Smell
]
;
}
Readonly
prettyPrint
:
{
full
:
(
result
:
LintingResult
)
=>
string
;
query
:
(
result
:
LintingResult
)
=>
string
;
}
Readonly
processSearchResult
:
(
elements
:
FlowrSearchElements
<
ParentInformation
,
FlowrSearchElement
<
(...)
>
[]
,
>
,
config
:
UnclosedConnectionConfig
,
data
:
ReadonlyFlowrAnalysisProvider
<
KnownParser
>
,
)
=>
Promise
<
{
".meta"
:
{
totalClosed
:
...
;
totalOpened
:
...
}
;
results
:
(...)
[]
}
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@eagleoutice/flowr - v2.15.8
Loading...