@eagleoutice/flowr - v2.13.15
Preparing search index...
src/linter/rules/unused-definition
UNUSED_DEFINITION
Variable UNUSED_DEFINITION
Const
UNUSED_DEFINITION
:
{
createSearch
:
(
config
:
UnusedDefinitionConfig
,
)
=>
FlowrSearchBuilderOut
<
"all"
,
[
]
,
ParentInformation
,
"filter"
>
;
info
:
{
certainty
:
BestEffort
;
defaultConfig
:
{
excludeExportedDefinitions
:
true
;
includeFunctionDefinitions
:
true
;
}
;
description
:
"Checks for unused definitions."
;
name
:
"Unused Definitions"
;
tags
:
readonly
[
Readability
,
Smell
,
QuickFix
]
;
}
;
prettyPrint
:
{
full
:
(
result
:
UnusedDefinitionResult
)
=>
string
;
query
:
(
result
:
UnusedDefinitionResult
)
=>
string
;
}
;
processSearchResult
:
(
elements
:
FlowrSearchElements
<
ParentInformation
,
FlowrSearchElement
<
(...)
>
[]
,
>
,
config
:
UnusedDefinitionConfig
,
data
:
ReadonlyFlowrAnalysisProvider
<
KnownParser
>
,
)
=>
Promise
<
{
".meta"
:
UnusedDefinitionMetadata
;
results
:
(...)
[]
}
>
;
}
= ...
Type Declaration
Readonly
createSearch
:
(
config
:
UnusedDefinitionConfig
,
)
=>
FlowrSearchBuilderOut
<
"all"
,
[
]
,
ParentInformation
,
"filter"
>
Readonly
info
:
{
certainty
:
BestEffort
;
defaultConfig
:
{
excludeExportedDefinitions
:
true
;
includeFunctionDefinitions
:
true
;
}
;
description
:
"Checks for unused definitions."
;
name
:
"Unused Definitions"
;
tags
:
readonly
[
Readability
,
Smell
,
QuickFix
]
;
}
Readonly
prettyPrint
:
{
full
:
(
result
:
UnusedDefinitionResult
)
=>
string
;
query
:
(
result
:
UnusedDefinitionResult
)
=>
string
;
}
Readonly
processSearchResult
:
(
elements
:
FlowrSearchElements
<
ParentInformation
,
FlowrSearchElement
<
(...)
>
[]
,
>
,
config
:
UnusedDefinitionConfig
,
data
:
ReadonlyFlowrAnalysisProvider
<
KnownParser
>
,
)
=>
Promise
<
{
".meta"
:
UnusedDefinitionMetadata
;
results
:
(...)
[]
}
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@eagleoutice/flowr - v2.13.15
Loading...