SonarJS linter helper functions
Preparing search index...
SonarJS linter helper functions
Namespaces
Chai
Express
Mocha
Sinon
Vitest
Classes
LiveVariables
ReachingDefinitions
Interfaces
EncodedMessage
IssueLocation
PolicyCheckerOptions
ReferenceLike
Type Aliases
AwsCdkCallback
AwsCdkConsumer
AwsCdkConsumerMap
ContextOverrider
FullyQualifiedName
FunctionNodeType
LocationHolder
LoopLike
NamedDependency
Node
ReportOverrider
RequiredParserServices
RuleContext
SonarMeta
StringLiteral
Values
Variables
collectionConstructor
copyingSortLike
detectReactRule
FUNCTION_NODES
functionLike
globalsByLibraries
PACKAGE_JSON
sortLike
TYPED_ARRAY_TYPES
unknownValue
UTILITY_TYPES
writingMethods
Functions
ancestorsChain
areEquivalent
AwsCdkCheckArguments
AwsCdkTemplate
AwsIamPolicyTemplate
checkSensitiveCall
childrenOf
clearDependenciesCache
collectIfBranches
collectSwitchBranches
encodeContents
expandMessage
findFirstMatchingAncestor
findFirstMatchingLocalAncestor
findParent
findPropagatedSetting
flatMap
flattenArgs
generateMeta
getAllDependencies
getBucketProperty
getDependencies
getDependenciesFromPackageJson
getElementType
getFirstToken
getFirstTokenAfter
getFullyQualifiedName
getFullyQualifiedNameRaw
getImportDeclarations
getJsxShortCircuitNodes
getLhsVariable
getLiteralValue
getMainFunctionTokenLocation
getManifests
getNodeParent
getParent
getProgramStatements
getProperty
getPropertyWithValue
getRequireCalls
getSensitiveEffect
getSignatureFromCallee
getSimpleRawStringValue
getSymbolAtLocation
getTypeAsString
getTypeFromTreeNode
getUnionTypes
getUniqueWriteReference
getUniqueWriteUsage
getUniqueWriteUsageOrNode
getValueOfExpression
getVariableFromIdentifier
getVariableFromName
getVariableFromScope
interceptReport
interceptReportForReact
isAny
isAnyLiteral
isArray
isArrayExpression
isArrayLikeType
isArrowFunctionExpression
isBigIntArray
isBigIntType
isBinaryPlus
isBooleanLiteral
isBooleanLiteralType
isBooleanTrueType
isBooleanType
isCallingMethod
isDefaultSpecifier
isDotNotation
isElementWrite
isFalseLiteral
isFunction
isFunctionCall
isFunctionDeclaration
isFunctionExpression
isFunctionInvocation
isFunctionNode
isGenericType
isIdentifier
isIfStatement
isIndexNotation
isInsideVueSetupScript
isLiteral
isLogicalExpression
isMemberExpression
isMemberWithProperty
isMethodCall
isMethodInvocation
isModuleDeclaration
isModuleExports
isNamespaceSpecifier
isNullLiteral
isNullOrUndefinedType
isNumber
isNumberArray
isNumberLiteral
isNumberType
isObjectDestructuring
isObjectType
isPresentationTable
isProperty
isReferenceTo
isRegexLiteral
isRequire
isRequiredParserServices
isRequireModule
isRoot
isS3BucketConstructor
isS3BucketDeploymentConstructor
isSimpleRawString
isStaticTemplateLiteral
isString
isStringArray
isStringLiteral
isStringType
isSupported
isThenable
isThisExpression
isThrowStatement
isTypeAlias
isTypedArray
isUnaryExpression
isUndefined
isUndefinedOrNull
isUnion
isUnresolved
isVariableDeclaration
last
localAncestorsChain
lva
mergeRules
normalizeFQN
reachingDefinitions
readFileSync
reduceTo
reduceToIdentifier
removeNodeWithLeadingWhitespaces
report
resolveAssignedValues
resolveFromFunctionReference
resolveFunction
resolveIdentifiers
S3BucketTemplate
stripBOM
takeWithoutBreak
toEncodedMessage
toSecondaryLocation
toUnixPath
Settings
Theme
OS
Light
Dark
On This Page
Namespaces
Chai
Express
Mocha
Sinon
Vitest
Classes
Live
Variables
Reaching
Definitions
Interfaces
Encoded
Message
Issue
Location
Policy
Checker
Options
Reference
Like
Type Aliases
Aws
Cdk
Callback
Aws
Cdk
Consumer
Aws
Cdk
Consumer
Map
Context
Overrider
Fully
Qualified
Name
Function
Node
Type
Location
Holder
Loop
Like
Named
Dependency
Node
Report
Overrider
Required
Parser
Services
Rule
Context
Sonar
Meta
String
Literal
Values
Variables
collection
Constructor
copying
Sort
Like
detect
React
Rule
FUNCTION_
NODES
function
Like
globals
By
Libraries
PACKAGE_
JSON
sort
Like
TYPED_
ARRAY_
TYPES
unknown
Value
UTILITY_
TYPES
writing
Methods
Functions
ancestors
Chain
are
Equivalent
Aws
Cdk
Check
Arguments
Aws
Cdk
Template
Aws
Iam
Policy
Template
check
Sensitive
Call
children
Of
clear
Dependencies
Cache
collect
If
Branches
collect
Switch
Branches
encode
Contents
expand
Message
find
First
Matching
Ancestor
find
First
Matching
Local
Ancestor
find
Parent
find
Propagated
Setting
flat
Map
flatten
Args
generate
Meta
get
All
Dependencies
get
Bucket
Property
get
Dependencies
get
Dependencies
From
Package
Json
get
Element
Type
get
First
Token
get
First
Token
After
get
Fully
Qualified
Name
get
Fully
Qualified
Name
Raw
get
Import
Declarations
get
Jsx
Short
Circuit
Nodes
get
Lhs
Variable
get
Literal
Value
get
Main
Function
Token
Location
get
Manifests
get
Node
Parent
get
Parent
get
Program
Statements
get
Property
get
Property
With
Value
get
Require
Calls
get
Sensitive
Effect
get
Signature
From
Callee
get
Simple
Raw
String
Value
get
Symbol
At
Location
get
Type
As
String
get
Type
From
Tree
Node
get
Union
Types
get
Unique
Write
Reference
get
Unique
Write
Usage
get
Unique
Write
Usage
Or
Node
get
Value
Of
Expression
get
Variable
From
Identifier
get
Variable
From
Name
get
Variable
From
Scope
intercept
Report
intercept
Report
For
React
is
Any
is
Any
Literal
is
Array
is
Array
Expression
is
Array
Like
Type
is
Arrow
Function
Expression
is
Big
Int
Array
is
Big
Int
Type
is
Binary
Plus
is
Boolean
Literal
is
Boolean
Literal
Type
is
Boolean
True
Type
is
Boolean
Type
is
Calling
Method
is
Default
Specifier
is
Dot
Notation
is
Element
Write
is
False
Literal
is
Function
is
Function
Call
is
Function
Declaration
is
Function
Expression
is
Function
Invocation
is
Function
Node
is
Generic
Type
is
Identifier
is
If
Statement
is
Index
Notation
is
Inside
Vue
Setup
Script
is
Literal
is
Logical
Expression
is
Member
Expression
is
Member
With
Property
is
Method
Call
is
Method
Invocation
is
Module
Declaration
is
Module
Exports
is
Namespace
Specifier
is
Null
Literal
is
Null
Or
Undefined
Type
is
Number
is
Number
Array
is
Number
Literal
is
Number
Type
is
Object
Destructuring
is
Object
Type
is
Presentation
Table
is
Property
is
Reference
To
is
Regex
Literal
is
Require
is
Required
Parser
Services
is
Require
Module
is
Root
is
S3
Bucket
Constructor
is
S3
Bucket
Deployment
Constructor
is
Simple
Raw
String
is
Static
Template
Literal
is
String
is
String
Array
is
String
Literal
is
String
Type
is
Supported
is
Thenable
is
This
Expression
is
Throw
Statement
is
Type
Alias
is
Typed
Array
is
Unary
Expression
is
Undefined
is
Undefined
Or
Null
is
Union
is
Unresolved
is
Variable
Declaration
last
local
Ancestors
Chain
lva
merge
Rules
normalizeFQN
reaching
Definitions
read
File
Sync
reduce
To
reduce
To
Identifier
remove
Node
With
Leading
Whitespaces
report
resolve
Assigned
Values
resolve
From
Function
Reference
resolve
Function
resolve
Identifiers
S3
Bucket
Template
stripBOM
take
Without
Break
to
Encoded
Message
to
Secondary
Location
to
Unix
Path
ESlint dev guide
SonarJS linter helper functions
Loading...