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