From 5b3247e2e5771d28998e535ca6019cc0375a603b Mon Sep 17 00:00:00 2001 From: saberduck Date: Wed, 27 Nov 2024 12:54:51 +0000 Subject: [PATCH] Update the bridge helper functions site --- typedoc/classes/LiveVariables.html | 14 +++++++------- typedoc/classes/ReachingDefinitions.html | 6 +++--- typedoc/functions/AwsCdkCheckArguments.html | 2 +- typedoc/functions/AwsCdkTemplate.html | 2 +- typedoc/functions/AwsIamPolicyTemplate.html | 2 +- typedoc/functions/Chai.isAssertion.html | 2 +- typedoc/functions/Chai.isImported.html | 2 +- .../Express.SensitiveMiddlewarePropertyRule.html | 2 +- .../functions/Express.attemptFindAppInjection.html | 2 +- .../Express.attemptFindAppInstantiation.html | 2 +- .../functions/Express.isMiddlewareInstance.html | 2 +- typedoc/functions/Express.isUsingMiddleware.html | 2 +- typedoc/functions/Mocha.extractTestCase.html | 2 +- typedoc/functions/Mocha.isDescribeCase.html | 2 +- typedoc/functions/Mocha.isTestCase.html | 2 +- typedoc/functions/Mocha.isTestConstruct.html | 2 +- typedoc/functions/S3BucketTemplate.html | 2 +- typedoc/functions/Sinon.isAssertion.html | 2 +- typedoc/functions/Sinon.isImported.html | 2 +- typedoc/functions/Vitest.isAssertion.html | 2 +- typedoc/functions/Vitest.isImported.html | 2 +- typedoc/functions/ancestorsChain.html | 2 +- typedoc/functions/areEquivalent.html | 2 +- typedoc/functions/checkSensitiveCall.html | 2 +- typedoc/functions/childrenOf.html | 2 +- typedoc/functions/clearDependenciesCache.html | 2 +- typedoc/functions/collectIfBranches.html | 2 +- typedoc/functions/collectSwitchBranches.html | 2 +- typedoc/functions/encodeContents.html | 2 +- typedoc/functions/expandMessage.html | 2 +- typedoc/functions/findFirstMatchingAncestor.html | 2 +- .../functions/findFirstMatchingLocalAncestor.html | 2 +- typedoc/functions/findParent.html | 2 +- typedoc/functions/findPropagatedSetting.html | 2 +- typedoc/functions/flatMap.html | 2 +- typedoc/functions/flattenArgs.html | 2 +- typedoc/functions/generateMeta.html | 2 +- typedoc/functions/getBucketProperty.html | 2 +- typedoc/functions/getDependencies.html | 2 +- .../functions/getDependenciesFromPackageJson.html | 2 +- typedoc/functions/getFirstToken.html | 2 +- typedoc/functions/getFirstTokenAfter.html | 2 +- typedoc/functions/getFullyQualifiedName.html | 2 +- typedoc/functions/getFullyQualifiedNameRaw.html | 2 +- typedoc/functions/getImportDeclarations.html | 2 +- typedoc/functions/getJsxShortCircuitNodes.html | 2 +- typedoc/functions/getLhsVariable.html | 2 +- typedoc/functions/getLiteralValue.html | 2 +- .../functions/getMainFunctionTokenLocation.html | 2 +- typedoc/functions/getManifests.html | 2 +- typedoc/functions/getNodeParent.html | 2 +- typedoc/functions/getParent.html | 2 +- typedoc/functions/getProgramStatements.html | 2 +- typedoc/functions/getProperty.html | 2 +- typedoc/functions/getPropertyWithValue.html | 2 +- typedoc/functions/getRequireCalls.html | 2 +- typedoc/functions/getSensitiveEffect.html | 2 +- typedoc/functions/getSignatureFromCallee.html | 2 +- typedoc/functions/getSimpleRawStringValue.html | 2 +- typedoc/functions/getSymbolAtLocation.html | 2 +- typedoc/functions/getTypeAsString.html | 2 +- typedoc/functions/getTypeFromTreeNode.html | 2 +- typedoc/functions/getUnionTypes.html | 2 +- typedoc/functions/getUniqueWriteReference.html | 2 +- typedoc/functions/getUniqueWriteUsage.html | 2 +- typedoc/functions/getUniqueWriteUsageOrNode.html | 2 +- typedoc/functions/getValueOfExpression.html | 2 +- typedoc/functions/getVariableFromIdentifier.html | 2 +- typedoc/functions/getVariableFromName.html | 2 +- typedoc/functions/getVariableFromScope.html | 2 +- typedoc/functions/interceptReport.html | 2 +- typedoc/functions/interceptReportForReact.html | 2 +- typedoc/functions/isAny.html | 2 +- typedoc/functions/isAnyLiteral.html | 2 +- typedoc/functions/isArray.html | 2 +- typedoc/functions/isArrayExpression.html | 2 +- typedoc/functions/isArrayLikeType.html | 2 +- typedoc/functions/isArrowFunctionExpression.html | 2 +- typedoc/functions/isBigIntArray.html | 2 +- typedoc/functions/isBigIntType.html | 2 +- typedoc/functions/isBinaryPlus.html | 2 +- typedoc/functions/isBooleanLiteral.html | 2 +- typedoc/functions/isBooleanLiteralType.html | 2 +- typedoc/functions/isBooleanTrueType.html | 2 +- typedoc/functions/isBooleanType.html | 2 +- typedoc/functions/isCallingMethod.html | 2 +- typedoc/functions/isDefaultSpecifier.html | 2 +- typedoc/functions/isDotNotation.html | 2 +- typedoc/functions/isElementWrite.html | 2 +- typedoc/functions/isFalseLiteral.html | 2 +- typedoc/functions/isFunction.html | 2 +- typedoc/functions/isFunctionCall.html | 2 +- typedoc/functions/isFunctionDeclaration.html | 2 +- typedoc/functions/isFunctionExpression.html | 2 +- typedoc/functions/isFunctionInvocation.html | 2 +- typedoc/functions/isFunctionNode.html | 2 +- typedoc/functions/isGenericType.html | 2 +- typedoc/functions/isIdentifier.html | 2 +- typedoc/functions/isIfStatement.html | 2 +- typedoc/functions/isIndexNotation.html | 2 +- typedoc/functions/isInsideVueSetupScript.html | 2 +- typedoc/functions/isLiteral.html | 2 +- typedoc/functions/isLogicalExpression.html | 2 +- typedoc/functions/isMemberExpression.html | 2 +- typedoc/functions/isMemberWithProperty.html | 2 +- typedoc/functions/isMethodCall.html | 2 +- typedoc/functions/isMethodInvocation.html | 2 +- typedoc/functions/isModuleDeclaration.html | 2 +- typedoc/functions/isModuleExports.html | 2 +- typedoc/functions/isNamespaceSpecifier.html | 2 +- typedoc/functions/isNullLiteral.html | 2 +- typedoc/functions/isNullOrUndefinedType.html | 2 +- typedoc/functions/isNumber.html | 2 +- typedoc/functions/isNumberArray.html | 2 +- typedoc/functions/isNumberLiteral.html | 2 +- typedoc/functions/isNumberType.html | 2 +- typedoc/functions/isObjectDestructuring.html | 2 +- typedoc/functions/isObjectType.html | 2 +- typedoc/functions/isPresentationTable.html | 2 +- typedoc/functions/isProperty.html | 2 +- typedoc/functions/isReferenceTo.html | 2 +- typedoc/functions/isRegexLiteral.html | 2 +- typedoc/functions/isRequire.html | 2 +- typedoc/functions/isRequireModule.html | 2 +- typedoc/functions/isRequiredParserServices.html | 2 +- typedoc/functions/isRoot.html | 2 +- typedoc/functions/isS3BucketConstructor.html | 2 +- .../functions/isS3BucketDeploymentConstructor.html | 2 +- typedoc/functions/isSimpleRawString.html | 2 +- typedoc/functions/isStaticTemplateLiteral.html | 2 +- typedoc/functions/isString.html | 2 +- typedoc/functions/isStringArray.html | 2 +- typedoc/functions/isStringLiteral.html | 2 +- typedoc/functions/isStringType.html | 2 +- typedoc/functions/isSupported.html | 2 +- typedoc/functions/isThenable.html | 2 +- typedoc/functions/isThisExpression.html | 2 +- typedoc/functions/isThrowStatement.html | 2 +- typedoc/functions/isTypeAlias.html | 2 +- typedoc/functions/isTypedArray.html | 2 +- typedoc/functions/isUnaryExpression.html | 2 +- typedoc/functions/isUndefined.html | 2 +- typedoc/functions/isUndefinedOrNull.html | 2 +- typedoc/functions/isUnion.html | 2 +- typedoc/functions/isUnresolved.html | 2 +- typedoc/functions/isVariableDeclaration.html | 2 +- typedoc/functions/last.html | 2 +- typedoc/functions/localAncestorsChain.html | 2 +- typedoc/functions/lva.html | 2 +- typedoc/functions/mergeRules.html | 2 +- typedoc/functions/normalizeFQN.html | 2 +- typedoc/functions/reachingDefinitions-1.html | 2 +- typedoc/functions/readFileSync.html | 2 +- typedoc/functions/reduceTo.html | 2 +- typedoc/functions/reduceToIdentifier.html | 2 +- .../removeNodeWithLeadingWhitespaces.html | 2 +- typedoc/functions/report.html | 2 +- typedoc/functions/resolveAssignedValues.html | 2 +- .../functions/resolveFromFunctionReference.html | 2 +- typedoc/functions/resolveFunction.html | 2 +- typedoc/functions/resolveIdentifiers.html | 2 +- typedoc/functions/searchFiles.html | 2 +- typedoc/functions/stripBOM.html | 2 +- typedoc/functions/takeWithoutBreak.html | 2 +- typedoc/functions/toEncodedMessage.html | 2 +- typedoc/functions/toSecondaryLocation.html | 2 +- typedoc/functions/toUnixPath.html | 2 +- typedoc/interfaces/EncodedMessage.html | 4 ++-- typedoc/interfaces/File.html | 4 ++-- typedoc/interfaces/IssueLocation.html | 4 ++-- typedoc/interfaces/Mocha.TestCase.html | 4 ++-- typedoc/interfaces/PolicyCheckerOptions.html | 4 ++-- typedoc/interfaces/ReferenceLike.html | 4 ++-- typedoc/modules/Chai.html | 2 +- typedoc/modules/Express.html | 2 +- typedoc/modules/Mocha.html | 2 +- typedoc/modules/Sinon.html | 2 +- typedoc/modules/Vitest.html | 2 +- typedoc/types/AwsCdkCallback.html | 2 +- typedoc/types/AwsCdkConsumer.html | 2 +- typedoc/types/AwsCdkConsumerMap.html | 2 +- typedoc/types/ContextOverrider.html | 2 +- typedoc/types/FullyQualifiedName.html | 2 +- typedoc/types/FunctionNodeType.html | 2 +- typedoc/types/LocationHolder.html | 2 +- typedoc/types/LoopLike.html | 2 +- typedoc/types/Node.html | 2 +- typedoc/types/ReportOverrider.html | 2 +- typedoc/types/RequiredParserServices.html | 2 +- typedoc/types/RuleContext.html | 2 +- typedoc/types/StringLiteral.html | 2 +- typedoc/types/Values.html | 2 +- typedoc/variables/FUNCTION_NODES.html | 2 +- typedoc/variables/PACKAGE_JSON.html | 2 +- typedoc/variables/SONAR_RUNTIME.html | 2 +- typedoc/variables/TYPED_ARRAY_TYPES.html | 2 +- typedoc/variables/UTILITY_TYPES.html | 2 +- typedoc/variables/collectionConstructor.html | 2 +- typedoc/variables/copyingSortLike.html | 2 +- typedoc/variables/detectReactRule.html | 2 +- typedoc/variables/functionLike.html | 2 +- typedoc/variables/globalsByLibraries.html | 2 +- typedoc/variables/sortLike.html | 2 +- typedoc/variables/unknownValue.html | 2 +- typedoc/variables/writingMethods.html | 2 +- 205 files changed, 219 insertions(+), 219 deletions(-) diff --git a/typedoc/classes/LiveVariables.html b/typedoc/classes/LiveVariables.html index b114c66b773..164f43f9b6f 100644 --- a/typedoc/classes/LiveVariables.html +++ b/typedoc/classes/LiveVariables.html @@ -1,4 +1,4 @@ -LiveVariables | SonarJS linter helper functions

Constructors

constructor +LiveVariables | SonarJS linter helper functions

Constructors

Properties

gen in kill @@ -7,9 +7,9 @@ segment

Methods

Constructors

Properties

gen: Set<Variable> = ...

variables that are being read in the block

-
in: Set<Variable> = ...

variables needed by this or a successor block and are not killed in this block

-
kill: Set<Variable> = ...

variables that are being written in the block

-
out: Variable[] = []

variables needed by successors

-
references: Set<ReferenceLike> = ...

collects references in order they are evaluated, set in JS maintains insertion order

-
segment: CodePathSegment

Methods

  • Parameters

    Returns boolean

+

Constructors

Properties

gen: Set<Variable> = ...

variables that are being read in the block

+
in: Set<Variable> = ...

variables needed by this or a successor block and are not killed in this block

+
kill: Set<Variable> = ...

variables that are being written in the block

+
out: Variable[] = []

variables needed by successors

+
references: Set<ReferenceLike> = ...

collects references in order they are evaluated, set in JS maintains insertion order

+
segment: CodePathSegment

Methods

  • Parameters

    Returns boolean

diff --git a/typedoc/classes/ReachingDefinitions.html b/typedoc/classes/ReachingDefinitions.html index 9b42723e849..d24dbeaa306 100644 --- a/typedoc/classes/ReachingDefinitions.html +++ b/typedoc/classes/ReachingDefinitions.html @@ -1,4 +1,4 @@ -ReachingDefinitions | SonarJS linter helper functions

Constructors

constructor +ReachingDefinitions | SonarJS linter helper functions

Constructors

Properties

Constructors

Properties

in: Map<Variable, Values> = ...
out: Map<Variable, Values> = ...
references: Set<Reference> = ...

collects references in order they are evaluated, set in JS maintains insertion order

-
segment: CodePathSegment

Methods

+

Constructors

Properties

in: Map<Variable, Values> = ...
out: Map<Variable, Values> = ...
references: Set<Reference> = ...

collects references in order they are evaluated, set in JS maintains insertion order

+
segment: CodePathSegment

Methods

diff --git a/typedoc/functions/AwsCdkCheckArguments.html b/typedoc/functions/AwsCdkCheckArguments.html index 06f7c59d8cd..8e899f5ce56 100644 --- a/typedoc/functions/AwsCdkCheckArguments.html +++ b/typedoc/functions/AwsCdkCheckArguments.html @@ -8,4 +8,4 @@
  • Optionalvalues: ValuesByType

    allowed or disallowed values

  • silent: boolean = false

    whether the function must report or just return conflicting Node when conditions are not met

  • position: number = AWS_OPTIONS_ARGUMENT_POSITION

    position of the argument to be analysed (3rd argument by default)

    -
  • Returns ((expr: NewExpression, ctx: RuleContext) => undefined | Node)

    +

    Returns ((expr: NewExpression, ctx: RuleContext) => undefined | Node)

    diff --git a/typedoc/functions/AwsCdkTemplate.html b/typedoc/functions/AwsCdkTemplate.html index 4aec499a99b..82c2dd39037 100644 --- a/typedoc/functions/AwsCdkTemplate.html +++ b/typedoc/functions/AwsCdkTemplate.html @@ -2,4 +2,4 @@

    Parameters

    Returns Rule.RuleModule

    the instantiated rule module

    -
    +
    diff --git a/typedoc/functions/AwsIamPolicyTemplate.html b/typedoc/functions/AwsIamPolicyTemplate.html index 05fe8549301..bbecf1c428d 100644 --- a/typedoc/functions/AwsIamPolicyTemplate.html +++ b/typedoc/functions/AwsIamPolicyTemplate.html @@ -1 +1 @@ -AwsIamPolicyTemplate | SonarJS linter helper functions
    • Parameters

      • statementChecker: StatementChecker
      • meta: RuleMetaData

      Returns RuleModule

    +AwsIamPolicyTemplate | SonarJS linter helper functions
    • Parameters

      • statementChecker: StatementChecker
      • meta: RuleMetaData

      Returns RuleModule

    diff --git a/typedoc/functions/Chai.isAssertion.html b/typedoc/functions/Chai.isAssertion.html index 49556d7d01b..a9da711e630 100644 --- a/typedoc/functions/Chai.isAssertion.html +++ b/typedoc/functions/Chai.isAssertion.html @@ -1 +1 @@ -isAssertion | SonarJS linter helper functions
    • Parameters

      • context: RuleContext
      • node: Node

      Returns boolean

    +isAssertion | SonarJS linter helper functions
    • Parameters

      • context: RuleContext
      • node: Node

      Returns boolean

    diff --git a/typedoc/functions/Chai.isImported.html b/typedoc/functions/Chai.isImported.html index 196b6089656..ec8e02bed3c 100644 --- a/typedoc/functions/Chai.isImported.html +++ b/typedoc/functions/Chai.isImported.html @@ -1 +1 @@ -isImported | SonarJS linter helper functions
    • Parameters

      • context: RuleContext

      Returns boolean

    +isImported | SonarJS linter helper functions
    • Parameters

      • context: RuleContext

      Returns boolean

    diff --git a/typedoc/functions/Express.SensitiveMiddlewarePropertyRule.html b/typedoc/functions/Express.SensitiveMiddlewarePropertyRule.html index 1b775916c2f..5a1c3cde4f7 100644 --- a/typedoc/functions/Express.SensitiveMiddlewarePropertyRule.html +++ b/typedoc/functions/Express.SensitiveMiddlewarePropertyRule.html @@ -11,4 +11,4 @@
  • message: string

    the reported message when an issue is raised

  • meta: RuleMetaData = {}

    the rule metadata

  • Returns Rule.RuleModule

    a rule module that raises issues when a sensitive property is found

    -
    +
    diff --git a/typedoc/functions/Express.attemptFindAppInjection.html b/typedoc/functions/Express.attemptFindAppInjection.html index 11ea5b994de..3e4134094ba 100644 --- a/typedoc/functions/Express.attemptFindAppInjection.html +++ b/typedoc/functions/Express.attemptFindAppInjection.html @@ -1,3 +1,3 @@ attemptFindAppInjection | SonarJS linter helper functions
    • Checks whether the function injects an instantiated app and is exported like module.exports = function(app) {} or module.exports.property = function(app) {}, and returns app if it matches.

      -

      Parameters

      • functionDef: Function
      • context: RuleContext
      • node: Node

      Returns estree.Identifier | undefined

    +

    Parameters

    Returns estree.Identifier | undefined

    diff --git a/typedoc/functions/Express.attemptFindAppInstantiation.html b/typedoc/functions/Express.attemptFindAppInstantiation.html index f01d395cb94..b5e67977ce9 100644 --- a/typedoc/functions/Express.attemptFindAppInstantiation.html +++ b/typedoc/functions/Express.attemptFindAppInstantiation.html @@ -1,3 +1,3 @@ attemptFindAppInstantiation | SonarJS linter helper functions
    • Checks whether the declaration looks somewhat like <id> = express() and returns <id> if it matches.

      -

      Parameters

      • varDecl: VariableDeclarator
      • context: RuleContext

      Returns estree.Identifier | undefined

    +

    Parameters

    Returns estree.Identifier | undefined

    diff --git a/typedoc/functions/Express.isMiddlewareInstance.html b/typedoc/functions/Express.isMiddlewareInstance.html index 48885c3d55c..ba32dee39cd 100644 --- a/typedoc/functions/Express.isMiddlewareInstance.html +++ b/typedoc/functions/Express.isMiddlewareInstance.html @@ -1,3 +1,3 @@ isMiddlewareInstance | SonarJS linter helper functions
    • Checks whether a node looks somewhat like require('m')() for some middleware m from the list of middlewares.

      -

      Parameters

      • context: RuleContext
      • middlewares: string[]
      • n: Node

      Returns boolean

    +

    Parameters

    Returns boolean

    diff --git a/typedoc/functions/Express.isUsingMiddleware.html b/typedoc/functions/Express.isUsingMiddleware.html index 6014c7d8f8f..855b9795c5a 100644 --- a/typedoc/functions/Express.isUsingMiddleware.html +++ b/typedoc/functions/Express.isUsingMiddleware.html @@ -1,3 +1,3 @@ isUsingMiddleware | SonarJS linter helper functions
    • Checks whether the expression looks somewhat like app.use(m1, [m2, m3], ..., mN), where one of mK-nodes satisfies the given predicate.

      -

      Parameters

      • context: RuleContext
      • callExpression: CallExpression
      • app: Identifier
      • middlewareNodePredicate: ((n: Node) => boolean)
          • (n): boolean
          • Parameters

            • n: Node

            Returns boolean

      Returns boolean

    +

    Parameters

    Returns boolean

    diff --git a/typedoc/functions/Mocha.extractTestCase.html b/typedoc/functions/Mocha.extractTestCase.html index 541d162ab2f..2d00fe9a11a 100644 --- a/typedoc/functions/Mocha.extractTestCase.html +++ b/typedoc/functions/Mocha.extractTestCase.html @@ -1 +1 @@ -extractTestCase | SonarJS linter helper functions
    +extractTestCase | SonarJS linter helper functions
    diff --git a/typedoc/functions/Mocha.isDescribeCase.html b/typedoc/functions/Mocha.isDescribeCase.html index 07b47fff36d..da2c2acdffa 100644 --- a/typedoc/functions/Mocha.isDescribeCase.html +++ b/typedoc/functions/Mocha.isDescribeCase.html @@ -1,2 +1,2 @@ isDescribeCase | SonarJS linter helper functions
    • returns true if the node is a describe block

      -

      Parameters

      • node: Node

      Returns boolean

    +

    Parameters

    Returns boolean

    diff --git a/typedoc/functions/Mocha.isTestCase.html b/typedoc/functions/Mocha.isTestCase.html index b42c2721ac7..7d4b335ec64 100644 --- a/typedoc/functions/Mocha.isTestCase.html +++ b/typedoc/functions/Mocha.isTestCase.html @@ -1,2 +1,2 @@ isTestCase | SonarJS linter helper functions
    • returns true if the node is a test case

      -

      Parameters

      • node: Node

      Returns boolean

    +

    Parameters

    Returns boolean

    diff --git a/typedoc/functions/Mocha.isTestConstruct.html b/typedoc/functions/Mocha.isTestConstruct.html index 95ea0453249..171d0d4157f 100644 --- a/typedoc/functions/Mocha.isTestConstruct.html +++ b/typedoc/functions/Mocha.isTestConstruct.html @@ -1 +1 @@ -isTestConstruct | SonarJS linter helper functions
    • Parameters

      • node: Node
      • constructs: string[] = TEST_CONSTRUCTS

      Returns boolean

    +isTestConstruct | SonarJS linter helper functions
    • Parameters

      • node: Node
      • constructs: string[] = TEST_CONSTRUCTS

      Returns boolean

    diff --git a/typedoc/functions/S3BucketTemplate.html b/typedoc/functions/S3BucketTemplate.html index 6dd31d2c90c..11a2383ab59 100644 --- a/typedoc/functions/S3BucketTemplate.html +++ b/typedoc/functions/S3BucketTemplate.html @@ -5,4 +5,4 @@

    Parameters

    Returns Rule.RuleModule

    the instantiated rule definition

    -
    +
    diff --git a/typedoc/functions/Sinon.isAssertion.html b/typedoc/functions/Sinon.isAssertion.html index a379031cfc5..d2d4d17dedd 100644 --- a/typedoc/functions/Sinon.isAssertion.html +++ b/typedoc/functions/Sinon.isAssertion.html @@ -1 +1 @@ -isAssertion | SonarJS linter helper functions
    • Parameters

      • context: RuleContext
      • node: Node

      Returns boolean

    +isAssertion | SonarJS linter helper functions
    • Parameters

      • context: RuleContext
      • node: Node

      Returns boolean

    diff --git a/typedoc/functions/Sinon.isImported.html b/typedoc/functions/Sinon.isImported.html index fb04631d9fa..14d72e5ebfb 100644 --- a/typedoc/functions/Sinon.isImported.html +++ b/typedoc/functions/Sinon.isImported.html @@ -1 +1 @@ -isImported | SonarJS linter helper functions
    • Parameters

      • context: RuleContext

      Returns boolean

    +isImported | SonarJS linter helper functions
    • Parameters

      • context: RuleContext

      Returns boolean

    diff --git a/typedoc/functions/Vitest.isAssertion.html b/typedoc/functions/Vitest.isAssertion.html index 754c5da3310..12211dc82da 100644 --- a/typedoc/functions/Vitest.isAssertion.html +++ b/typedoc/functions/Vitest.isAssertion.html @@ -1 +1 @@ -isAssertion | SonarJS linter helper functions
    • Parameters

      • context: RuleContext
      • node: Node

      Returns boolean

    +isAssertion | SonarJS linter helper functions
    • Parameters

      • context: RuleContext
      • node: Node

      Returns boolean

    diff --git a/typedoc/functions/Vitest.isImported.html b/typedoc/functions/Vitest.isImported.html index 40ee4ed5df8..3304b244b65 100644 --- a/typedoc/functions/Vitest.isImported.html +++ b/typedoc/functions/Vitest.isImported.html @@ -1 +1 @@ -isImported | SonarJS linter helper functions
    • Parameters

      • context: RuleContext

      Returns boolean

    +isImported | SonarJS linter helper functions
    • Parameters

      • context: RuleContext

      Returns boolean

    diff --git a/typedoc/functions/ancestorsChain.html b/typedoc/functions/ancestorsChain.html index 05c1f52bf69..7250a4770aa 100644 --- a/typedoc/functions/ancestorsChain.html +++ b/typedoc/functions/ancestorsChain.html @@ -1 +1 @@ -ancestorsChain | SonarJS linter helper functions
    • Parameters

      • node: Node
      • boundaryTypes: Set<string>

      Returns Node[]

    +ancestorsChain | SonarJS linter helper functions
    • Parameters

      • node: Node
      • boundaryTypes: Set<string>

      Returns Node[]

    diff --git a/typedoc/functions/areEquivalent.html b/typedoc/functions/areEquivalent.html index 2207a659ed2..f2861793948 100644 --- a/typedoc/functions/areEquivalent.html +++ b/typedoc/functions/areEquivalent.html @@ -1,4 +1,4 @@ areEquivalent | SonarJS linter helper functions
    • Equivalence is implemented by comparing node types and their tokens. Classic implementation would recursively compare children, but "estree" doesn't provide access to children when node type is unknown

      -

      Parameters

      Returns boolean

    +

    Parameters

    Returns boolean

    diff --git a/typedoc/functions/checkSensitiveCall.html b/typedoc/functions/checkSensitiveCall.html index 75037d0ddec..d5435944af4 100644 --- a/typedoc/functions/checkSensitiveCall.html +++ b/typedoc/functions/checkSensitiveCall.html @@ -1 +1 @@ -checkSensitiveCall | SonarJS linter helper functions
    • Parameters

      • context: RuleContext
      • callExpression: CallExpression
      • sensitiveArgumentIndex: number
      • sensitiveProperty: string
      • sensitivePropertyValue: boolean
      • message: string

      Returns void

    +checkSensitiveCall | SonarJS linter helper functions
    • Parameters

      • context: RuleContext
      • callExpression: CallExpression
      • sensitiveArgumentIndex: number
      • sensitiveProperty: string
      • sensitivePropertyValue: boolean
      • message: string

      Returns void

    diff --git a/typedoc/functions/childrenOf.html b/typedoc/functions/childrenOf.html index 8973e165fb4..27ea07a35ac 100644 --- a/typedoc/functions/childrenOf.html +++ b/typedoc/functions/childrenOf.html @@ -2,4 +2,4 @@

    Parameters

    Returns estree.Node[]

    the node children

    -
    +
    diff --git a/typedoc/functions/clearDependenciesCache.html b/typedoc/functions/clearDependenciesCache.html index a51a83e4ac8..032c0ac62af 100644 --- a/typedoc/functions/clearDependenciesCache.html +++ b/typedoc/functions/clearDependenciesCache.html @@ -1,2 +1,2 @@ clearDependenciesCache | SonarJS linter helper functions
    • In the case of SonarIDE, when a package.json file changes, the cache can become obsolete.

      -

      Returns void

    +

    Returns void

    diff --git a/typedoc/functions/collectIfBranches.html b/typedoc/functions/collectIfBranches.html index aeddbd63d8a..2fa1d67f6d7 100644 --- a/typedoc/functions/collectIfBranches.html +++ b/typedoc/functions/collectIfBranches.html @@ -1,2 +1,2 @@ collectIfBranches | SonarJS linter helper functions
    • Returns a list of statements corresponding to a if - else if - else chain

      -

      Parameters

      • node: IfStatement

      Returns {
          branches: Statement[];
          endsWithElse: boolean;
      }

      • branches: Statement[]
      • endsWithElse: boolean
    +

    Parameters

    Returns {
        branches: Statement[];
        endsWithElse: boolean;
    }

    diff --git a/typedoc/functions/collectSwitchBranches.html b/typedoc/functions/collectSwitchBranches.html index 22b8d936bd4..c97e94b7fd8 100644 --- a/typedoc/functions/collectSwitchBranches.html +++ b/typedoc/functions/collectSwitchBranches.html @@ -1,2 +1,2 @@ collectSwitchBranches | SonarJS linter helper functions
    • Returns a list of switch clauses (both case and default)

      -

      Parameters

      • node: SwitchStatement

      Returns {
          branches: Statement[][];
          endsWithDefault: boolean;
      }

      • branches: Statement[][]
      • endsWithDefault: boolean
    +

    Parameters

    Returns {
        branches: Statement[][];
        endsWithDefault: boolean;
    }

    diff --git a/typedoc/functions/encodeContents.html b/typedoc/functions/encodeContents.html index 111f58ac75b..e93f6e9648c 100644 --- a/typedoc/functions/encodeContents.html +++ b/typedoc/functions/encodeContents.html @@ -1 +1 @@ -encodeContents | SonarJS linter helper functions
    • Parameters

      • message: string
      • OptionalsecondaryLocations: IssueLocation[]
      • Optionalcost: number

      Returns string

    +encodeContents | SonarJS linter helper functions
    • Parameters

      • message: string
      • OptionalsecondaryLocations: IssueLocation[]
      • Optionalcost: number

      Returns string

    diff --git a/typedoc/functions/expandMessage.html b/typedoc/functions/expandMessage.html index db205f1492f..2738e7eadb8 100644 --- a/typedoc/functions/expandMessage.html +++ b/typedoc/functions/expandMessage.html @@ -1 +1 @@ -expandMessage | SonarJS linter helper functions
    • Parameters

      • message: string
      • reportDescriptorData: undefined | Record<string, unknown>

      Returns string

    +expandMessage | SonarJS linter helper functions
    • Parameters

      • message: string
      • reportDescriptorData: undefined | Record<string, unknown>

      Returns string

    diff --git a/typedoc/functions/findFirstMatchingAncestor.html b/typedoc/functions/findFirstMatchingAncestor.html index 0c684def5ca..351073b7789 100644 --- a/typedoc/functions/findFirstMatchingAncestor.html +++ b/typedoc/functions/findFirstMatchingAncestor.html @@ -1 +1 @@ -findFirstMatchingAncestor | SonarJS linter helper functions
    • Parameters

      • node: Node
      • predicate: ((node: Node) => boolean)
          • (node): boolean
          • Parameters

            • node: Node

            Returns boolean

      Returns undefined | Node

    +findFirstMatchingAncestor | SonarJS linter helper functions
    • Parameters

      • node: Node
      • predicate: ((node: Node) => boolean)
          • (node): boolean
          • Parameters

            • node: Node

            Returns boolean

      Returns undefined | Node

    diff --git a/typedoc/functions/findFirstMatchingLocalAncestor.html b/typedoc/functions/findFirstMatchingLocalAncestor.html index 4cd7d5a6132..efd55f408f7 100644 --- a/typedoc/functions/findFirstMatchingLocalAncestor.html +++ b/typedoc/functions/findFirstMatchingLocalAncestor.html @@ -1 +1 @@ -findFirstMatchingLocalAncestor | SonarJS linter helper functions
    • Parameters

      • node: Node
      • predicate: ((node: Node) => boolean)
          • (node): boolean
          • Parameters

            • node: Node

            Returns boolean

      Returns undefined | Node

    +findFirstMatchingLocalAncestor | SonarJS linter helper functions
    • Parameters

      • node: Node
      • predicate: ((node: Node) => boolean)
          • (node): boolean
          • Parameters

            • node: Node

            Returns boolean

      Returns undefined | Node

    diff --git a/typedoc/functions/findParent.html b/typedoc/functions/findParent.html index 4c9631be02e..f121004b11d 100644 --- a/typedoc/functions/findParent.html +++ b/typedoc/functions/findParent.html @@ -1,3 +1,3 @@ findParent | SonarJS linter helper functions
    • Find nearest file with a given name in current or parent dirs

      Parameters

      • dir: string
      • name: string

        filename to search for

        -

      Returns string | null

    +

    Returns string | null

    diff --git a/typedoc/functions/findPropagatedSetting.html b/typedoc/functions/findPropagatedSetting.html index aa8587fb9b3..51b7ed11880 100644 --- a/typedoc/functions/findPropagatedSetting.html +++ b/typedoc/functions/findPropagatedSetting.html @@ -1,2 +1,2 @@ findPropagatedSetting | SonarJS linter helper functions
    • Finds the propagated setting of a sensitive property

      -

      Parameters

      • sensitiveProperty: Property
      • propagatedValue: Node

      Returns IssueLocation | undefined

    +

    Parameters

    Returns IssueLocation | undefined

    diff --git a/typedoc/functions/flatMap.html b/typedoc/functions/flatMap.html index c13a9c11601..fad27f87f07 100644 --- a/typedoc/functions/flatMap.html +++ b/typedoc/functions/flatMap.html @@ -1 +1 @@ -flatMap | SonarJS linter helper functions
    • Type Parameters

      • A
      • B

      Parameters

      • xs: A[]
      • f: ((e: A) => B[])
          • (e): B[]
          • Parameters

            Returns B[]

      Returns B[]

    +flatMap | SonarJS linter helper functions
    • Type Parameters

      • A
      • B

      Parameters

      • xs: A[]
      • f: ((e: A) => B[])
          • (e): B[]
          • Parameters

            Returns B[]

      Returns B[]

    diff --git a/typedoc/functions/flattenArgs.html b/typedoc/functions/flattenArgs.html index e379cee75d3..3e0117c854c 100644 --- a/typedoc/functions/flattenArgs.html +++ b/typedoc/functions/flattenArgs.html @@ -12,4 +12,4 @@

    This means that methods like app.use accept variable arguments, but also arrays, or combinations thereof. This methods helps to flatten out such complicated composed argument lists.

    -

    Parameters

    Returns estree.Node[]

    +

    Parameters

    Returns estree.Node[]

    diff --git a/typedoc/functions/generateMeta.html b/typedoc/functions/generateMeta.html index ddda24d510d..e44262a8a74 100644 --- a/typedoc/functions/generateMeta.html +++ b/typedoc/functions/generateMeta.html @@ -1 +1 @@ -generateMeta | SonarJS linter helper functions
    • Parameters

      • rspecMeta: RuleMetaData
      • OptionalruleMeta: RuleMetaData
      • hasSecondaries: boolean = false

      Returns Rule.RuleMetaData

    +generateMeta | SonarJS linter helper functions
    • Parameters

      • rspecMeta: RuleMetaData
      • OptionalruleMeta: RuleMetaData
      • hasSecondaries: boolean = false

      Returns Rule.RuleMetaData

    diff --git a/typedoc/functions/getBucketProperty.html b/typedoc/functions/getBucketProperty.html index eb9e8c935f9..c093f7375d3 100644 --- a/typedoc/functions/getBucketProperty.html +++ b/typedoc/functions/getBucketProperty.html @@ -6,4 +6,4 @@
  • bucket: NewExpression

    the invocation of S3 Bucket's constructor

  • key: string

    the key of the property to extract

  • Returns undefined | null | Property

    the extracted property

    -
    +
    diff --git a/typedoc/functions/getDependencies.html b/typedoc/functions/getDependencies.html index b3db7c221e3..594f51a7b54 100644 --- a/typedoc/functions/getDependencies.html +++ b/typedoc/functions/getDependencies.html @@ -1,4 +1,4 @@ getDependencies | SonarJS linter helper functions
    • Retrieve the dependencies of all the package.json files available for the given file.

      Parameters

      • filename: string

        context.filename

      • cwd: string

        working dir, will search up to that root

        -

      Returns Set<string | Minimatch>

    +

    Returns Set<string | Minimatch>

    diff --git a/typedoc/functions/getDependenciesFromPackageJson.html b/typedoc/functions/getDependenciesFromPackageJson.html index 917056d5d5b..471ead59d3a 100644 --- a/typedoc/functions/getDependenciesFromPackageJson.html +++ b/typedoc/functions/getDependenciesFromPackageJson.html @@ -1 +1 @@ -getDependenciesFromPackageJson | SonarJS linter helper functions
    • Parameters

      • content: PackageJson

      Returns Set<string | Minimatch>

    +getDependenciesFromPackageJson | SonarJS linter helper functions
    • Parameters

      • content: PackageJson

      Returns Set<string | Minimatch>

    diff --git a/typedoc/functions/getFirstToken.html b/typedoc/functions/getFirstToken.html index a40d93ce990..6fe5e584734 100644 --- a/typedoc/functions/getFirstToken.html +++ b/typedoc/functions/getFirstToken.html @@ -1 +1 @@ -getFirstToken | SonarJS linter helper functions
    • Type Parameters

      • T = string

      Parameters

      • node: Node
      • context: RuleContext<string, T[]>

      Returns TSESLint.AST.Token

    +getFirstToken | SonarJS linter helper functions
    • Type Parameters

      • T = string

      Parameters

      • node: Node
      • context: RuleContext<string, T[]>

      Returns TSESLint.AST.Token

    diff --git a/typedoc/functions/getFirstTokenAfter.html b/typedoc/functions/getFirstTokenAfter.html index 466d973f4cd..a9e95364548 100644 --- a/typedoc/functions/getFirstTokenAfter.html +++ b/typedoc/functions/getFirstTokenAfter.html @@ -1 +1 @@ -getFirstTokenAfter | SonarJS linter helper functions
    • Type Parameters

      • T = string

      Parameters

      • node: Node
      • context: RuleContext<string, T[]>

      Returns TSESLint.AST.Token | null

    +getFirstTokenAfter | SonarJS linter helper functions
    • Type Parameters

      • T = string

      Parameters

      • node: Node
      • context: RuleContext<string, T[]>

      Returns TSESLint.AST.Token | null

    diff --git a/typedoc/functions/getFullyQualifiedName.html b/typedoc/functions/getFullyQualifiedName.html index 38f460a3a8f..6a1e7b0080b 100644 --- a/typedoc/functions/getFullyQualifiedName.html +++ b/typedoc/functions/getFullyQualifiedName.html @@ -12,4 +12,4 @@
  • fqn: string[] = []

    the already traversed FQN (for recursive calls)

  • Optionalscope: Scope

    scope to look for the variable definition, used in recursion not to loop over same variable always in the lower scope

    -
  • Returns string | null

    +

    Returns string | null

    diff --git a/typedoc/functions/getFullyQualifiedNameRaw.html b/typedoc/functions/getFullyQualifiedNameRaw.html index d17f08c6e45..9595fa3056c 100644 --- a/typedoc/functions/getFullyQualifiedNameRaw.html +++ b/typedoc/functions/getFullyQualifiedNameRaw.html @@ -1,3 +1,3 @@ getFullyQualifiedNameRaw | SonarJS linter helper functions
    • Just like getFullyQualifiedName(), but does not filter out the node: prefix.

      To be used for rules that need to work with the node: prefix.

      -

      Parameters

      • context: RuleContext
      • node: Node
      • fqn: string[]
      • Optionalscope: Scope
      • visitedVars: Variable[] = []

      Returns string | null

    +

    Parameters

    Returns string | null

    diff --git a/typedoc/functions/getImportDeclarations.html b/typedoc/functions/getImportDeclarations.html index dff93bd238d..beaf54b1307 100644 --- a/typedoc/functions/getImportDeclarations.html +++ b/typedoc/functions/getImportDeclarations.html @@ -1 +1 @@ -getImportDeclarations | SonarJS linter helper functions
    • Parameters

      • context: RuleContext

      Returns ImportDeclaration[]

    +getImportDeclarations | SonarJS linter helper functions
    • Parameters

      • context: RuleContext

      Returns ImportDeclaration[]

    diff --git a/typedoc/functions/getJsxShortCircuitNodes.html b/typedoc/functions/getJsxShortCircuitNodes.html index 680b1c8f357..c9fe7fb714f 100644 --- a/typedoc/functions/getJsxShortCircuitNodes.html +++ b/typedoc/functions/getJsxShortCircuitNodes.html @@ -1 +1 @@ -getJsxShortCircuitNodes | SonarJS linter helper functions
    • Parameters

      • logicalExpression: LogicalExpression

      Returns null | LogicalExpression[]

    +getJsxShortCircuitNodes | SonarJS linter helper functions
    • Parameters

      • logicalExpression: LogicalExpression

      Returns null | LogicalExpression[]

    diff --git a/typedoc/functions/getLhsVariable.html b/typedoc/functions/getLhsVariable.html index e357e2411a2..f29e79e9262 100644 --- a/typedoc/functions/getLhsVariable.html +++ b/typedoc/functions/getLhsVariable.html @@ -1,2 +1,2 @@ getLhsVariable | SonarJS linter helper functions
    • for x = 42 or let x = 42 when visiting '42' returns 'x' variable

      -

      Parameters

      • context: RuleContext
      • node: Node

      Returns Scope.Variable | undefined

    +

    Parameters

    Returns Scope.Variable | undefined

    diff --git a/typedoc/functions/getLiteralValue.html b/typedoc/functions/getLiteralValue.html index 6e6dc629927..61e959734f4 100644 --- a/typedoc/functions/getLiteralValue.html +++ b/typedoc/functions/getLiteralValue.html @@ -1 +1 @@ -getLiteralValue | SonarJS linter helper functions
    • Parameters

      • ctx: RuleContext
      • node: Node

      Returns estree.Literal | undefined

    +getLiteralValue | SonarJS linter helper functions
    • Parameters

      • ctx: RuleContext
      • node: Node

      Returns estree.Literal | undefined

    diff --git a/typedoc/functions/getMainFunctionTokenLocation.html b/typedoc/functions/getMainFunctionTokenLocation.html index a9868d3ebf4..7e839622ba7 100644 --- a/typedoc/functions/getMainFunctionTokenLocation.html +++ b/typedoc/functions/getMainFunctionTokenLocation.html @@ -4,4 +4,4 @@
  • "function" keyword for a function expression
  • "=>" for an arrow function
  • -

    Type Parameters

    Parameters

    Returns SourceLocation

    +

    Type Parameters

    Parameters

    Returns SourceLocation

    diff --git a/typedoc/functions/getManifests.html b/typedoc/functions/getManifests.html index e90e3b79845..2caff09d836 100644 --- a/typedoc/functions/getManifests.html +++ b/typedoc/functions/getManifests.html @@ -1,3 +1,3 @@ getManifests | SonarJS linter helper functions

    Returns the project manifests that are used to resolve the dependencies imported by the module named filename, up to the passed working directory.

    -
    • Parameters

      • dir: string
      • OptionalworkingDirectory: string
      • OptionalfileSystem: Filesystem

      Returns PackageJson[]

    +
    diff --git a/typedoc/functions/getNodeParent.html b/typedoc/functions/getNodeParent.html index 3129003c885..c7938fd159c 100644 --- a/typedoc/functions/getNodeParent.html +++ b/typedoc/functions/getNodeParent.html @@ -7,4 +7,4 @@ when it comes to the parent of a node.

    Parameters

    Returns Node

    the parent node

    -
    +
    diff --git a/typedoc/functions/getParent.html b/typedoc/functions/getParent.html index 7d33dc3208d..b69ea9bc5f2 100644 --- a/typedoc/functions/getParent.html +++ b/typedoc/functions/getParent.html @@ -1 +1 @@ -getParent | SonarJS linter helper functions
    • Parameters

      • context: RuleContext
      • node: Node

      Returns
          | undefined
          | MethodDefinition
          | Property
          | CatchClause
          | ClassDeclaration
          | ClassExpression
          | ClassBody
          | FunctionExpression
          | ArrowFunctionExpression
          | Identifier
          | SimpleLiteral
          | RegExpLiteral
          | BigIntLiteral
          | ArrayExpression
          | AssignmentExpression
          | AwaitExpression
          | BinaryExpression
          | SimpleCallExpression
          | NewExpression
          | ChainExpression
          | ConditionalExpression
          | ImportExpression
          | LogicalExpression
          | MemberExpression
          | MetaProperty
          | ObjectExpression
          | SequenceExpression
          | TaggedTemplateExpression
          | TemplateLiteral
          | ThisExpression
          | UnaryExpression
          | UpdateExpression
          | YieldExpression
          | FunctionDeclaration
          | ImportDeclaration
          | ExportNamedDeclaration
          | ExportDefaultDeclaration
          | ExportAllDeclaration
          | ImportSpecifier
          | ImportDefaultSpecifier
          | ImportNamespaceSpecifier
          | ExportSpecifier
          | ObjectPattern
          | ArrayPattern
          | RestElement
          | AssignmentPattern
          | PrivateIdentifier
          | Program
          | PropertyDefinition
          | SpreadElement
          | ExpressionStatement
          | BlockStatement
          | StaticBlock
          | EmptyStatement
          | DebuggerStatement
          | WithStatement
          | ReturnStatement
          | LabeledStatement
          | BreakStatement
          | ContinueStatement
          | IfStatement
          | SwitchStatement
          | ThrowStatement
          | TryStatement
          | WhileStatement
          | DoWhileStatement
          | ForStatement
          | ForInStatement
          | ForOfStatement
          | VariableDeclaration
          | Super
          | SwitchCase
          | TemplateElement
          | VariableDeclarator

    +getParent | SonarJS linter helper functions
    • Parameters

      • context: RuleContext
      • node: Node

      Returns
          | undefined
          | MethodDefinition
          | Property
          | CatchClause
          | ClassDeclaration
          | ClassExpression
          | ClassBody
          | FunctionExpression
          | ArrowFunctionExpression
          | Identifier
          | SimpleLiteral
          | RegExpLiteral
          | BigIntLiteral
          | ArrayExpression
          | AssignmentExpression
          | AwaitExpression
          | BinaryExpression
          | SimpleCallExpression
          | NewExpression
          | ChainExpression
          | ConditionalExpression
          | ImportExpression
          | LogicalExpression
          | MemberExpression
          | MetaProperty
          | ObjectExpression
          | SequenceExpression
          | TaggedTemplateExpression
          | TemplateLiteral
          | ThisExpression
          | UnaryExpression
          | UpdateExpression
          | YieldExpression
          | FunctionDeclaration
          | ImportDeclaration
          | ExportNamedDeclaration
          | ExportDefaultDeclaration
          | ExportAllDeclaration
          | ImportSpecifier
          | ImportDefaultSpecifier
          | ImportNamespaceSpecifier
          | ExportSpecifier
          | ObjectPattern
          | ArrayPattern
          | RestElement
          | AssignmentPattern
          | PrivateIdentifier
          | Program
          | PropertyDefinition
          | SpreadElement
          | ExpressionStatement
          | BlockStatement
          | StaticBlock
          | EmptyStatement
          | DebuggerStatement
          | WithStatement
          | ReturnStatement
          | LabeledStatement
          | BreakStatement
          | ContinueStatement
          | IfStatement
          | SwitchStatement
          | ThrowStatement
          | TryStatement
          | WhileStatement
          | DoWhileStatement
          | ForStatement
          | ForInStatement
          | ForOfStatement
          | VariableDeclaration
          | Super
          | SwitchCase
          | TemplateElement
          | VariableDeclarator

    diff --git a/typedoc/functions/getProgramStatements.html b/typedoc/functions/getProgramStatements.html index 7509509b7df..984b66becd4 100644 --- a/typedoc/functions/getProgramStatements.html +++ b/typedoc/functions/getProgramStatements.html @@ -1 +1 @@ -getProgramStatements | SonarJS linter helper functions
    • Parameters

      • program: Program

      Returns Statement[]

    +getProgramStatements | SonarJS linter helper functions
    • Parameters

      • program: Program

      Returns Statement[]

    diff --git a/typedoc/functions/getProperty.html b/typedoc/functions/getProperty.html index 258aa1c7370..a65b63bf92a 100644 --- a/typedoc/functions/getProperty.html +++ b/typedoc/functions/getProperty.html @@ -1,4 +1,4 @@ getProperty | SonarJS linter helper functions
    • Retrieves the property with the specified key from the given node.

      Parameters

      • expr: undefined | null | Node
      • key: string
      • ctx: RuleContext

      Returns estree.Property | null | undefined

      The property if found, or null if not found, or undefined if property not found and one of the properties is an unresolved SpreadElement.

      -
    +
    diff --git a/typedoc/functions/getPropertyWithValue.html b/typedoc/functions/getPropertyWithValue.html index e583c3c5210..b985fb20cc0 100644 --- a/typedoc/functions/getPropertyWithValue.html +++ b/typedoc/functions/getPropertyWithValue.html @@ -1 +1 @@ -getPropertyWithValue | SonarJS linter helper functions
    • Parameters

      • context: RuleContext
      • objectExpression: ObjectExpression
      • propertyName: string
      • propertyValue:
            | undefined
            | null
            | string
            | number
            | bigint
            | boolean
            | RegExp

      Returns estree.Property | undefined

    +getPropertyWithValue | SonarJS linter helper functions
    • Parameters

      • context: RuleContext
      • objectExpression: ObjectExpression
      • propertyName: string
      • propertyValue:
            | undefined
            | null
            | string
            | number
            | bigint
            | boolean
            | RegExp

      Returns estree.Property | undefined

    diff --git a/typedoc/functions/getRequireCalls.html b/typedoc/functions/getRequireCalls.html index eff7d9c93f3..e21bc3cc438 100644 --- a/typedoc/functions/getRequireCalls.html +++ b/typedoc/functions/getRequireCalls.html @@ -1 +1 @@ -getRequireCalls | SonarJS linter helper functions
    • Parameters

      • context: RuleContext

      Returns CallExpression[]

    +getRequireCalls | SonarJS linter helper functions
    • Parameters

      • context: RuleContext

      Returns CallExpression[]

    diff --git a/typedoc/functions/getSensitiveEffect.html b/typedoc/functions/getSensitiveEffect.html index e6bd362370e..9b1e8985891 100644 --- a/typedoc/functions/getSensitiveEffect.html +++ b/typedoc/functions/getSensitiveEffect.html @@ -1 +1 @@ -getSensitiveEffect | SonarJS linter helper functions
    +getSensitiveEffect | SonarJS linter helper functions
    diff --git a/typedoc/functions/getSignatureFromCallee.html b/typedoc/functions/getSignatureFromCallee.html index 81508c3ca08..6d97c487ff9 100644 --- a/typedoc/functions/getSignatureFromCallee.html +++ b/typedoc/functions/getSignatureFromCallee.html @@ -1 +1 @@ -getSignatureFromCallee | SonarJS linter helper functions
    • Parameters

      • node: Node
      • services: ParserServicesWithTypeInformation

      Returns undefined | Signature

    +getSignatureFromCallee | SonarJS linter helper functions
    • Parameters

      • node: Node
      • services: ParserServicesWithTypeInformation

      Returns undefined | Signature

    diff --git a/typedoc/functions/getSimpleRawStringValue.html b/typedoc/functions/getSimpleRawStringValue.html index 09839d80b15..96cf3448b4c 100644 --- a/typedoc/functions/getSimpleRawStringValue.html +++ b/typedoc/functions/getSimpleRawStringValue.html @@ -1 +1 @@ -getSimpleRawStringValue | SonarJS linter helper functions
    • Parameters

      • node: TaggedTemplateExpression

      Returns string

    +getSimpleRawStringValue | SonarJS linter helper functions
    • Parameters

      • node: TaggedTemplateExpression

      Returns string

    diff --git a/typedoc/functions/getSymbolAtLocation.html b/typedoc/functions/getSymbolAtLocation.html index a6c6393dd8c..3ac437441f4 100644 --- a/typedoc/functions/getSymbolAtLocation.html +++ b/typedoc/functions/getSymbolAtLocation.html @@ -1 +1 @@ -getSymbolAtLocation | SonarJS linter helper functions
    • Parameters

      • node: Node
      • services: ParserServicesWithTypeInformation

      Returns undefined | Symbol

    +getSymbolAtLocation | SonarJS linter helper functions
    • Parameters

      • node: Node
      • services: ParserServicesWithTypeInformation

      Returns undefined | Symbol

    diff --git a/typedoc/functions/getTypeAsString.html b/typedoc/functions/getTypeAsString.html index 1cd33cb2c01..7e917668e1b 100644 --- a/typedoc/functions/getTypeAsString.html +++ b/typedoc/functions/getTypeAsString.html @@ -1 +1 @@ -getTypeAsString | SonarJS linter helper functions
    • Parameters

      • node: Node
      • services: ParserServicesWithTypeInformation

      Returns string

    +getTypeAsString | SonarJS linter helper functions
    • Parameters

      • node: Node
      • services: ParserServicesWithTypeInformation

      Returns string

    diff --git a/typedoc/functions/getTypeFromTreeNode.html b/typedoc/functions/getTypeFromTreeNode.html index 8d34eae41af..a5c05a322ab 100644 --- a/typedoc/functions/getTypeFromTreeNode.html +++ b/typedoc/functions/getTypeFromTreeNode.html @@ -1 +1 @@ -getTypeFromTreeNode | SonarJS linter helper functions
    • Parameters

      • node: Node
      • services: ParserServicesWithTypeInformation

      Returns Type

    +getTypeFromTreeNode | SonarJS linter helper functions
    • Parameters

      • node: Node
      • services: ParserServicesWithTypeInformation

      Returns Type

    diff --git a/typedoc/functions/getUnionTypes.html b/typedoc/functions/getUnionTypes.html index 9a212836940..4fd91c2eb75 100644 --- a/typedoc/functions/getUnionTypes.html +++ b/typedoc/functions/getUnionTypes.html @@ -2,4 +2,4 @@ Otherwise, returns an array containing the provided type as its unique element.

    Parameters

    Returns ts.Type[]

    An array of types. It's never empty.

    -
    +
    diff --git a/typedoc/functions/getUniqueWriteReference.html b/typedoc/functions/getUniqueWriteReference.html index d6b85923dd3..e1a50fa4ef5 100644 --- a/typedoc/functions/getUniqueWriteReference.html +++ b/typedoc/functions/getUniqueWriteReference.html @@ -1 +1 @@ -getUniqueWriteReference | SonarJS linter helper functions
    • Parameters

      • variable: undefined | Variable

      Returns estree.Node | undefined

    +getUniqueWriteReference | SonarJS linter helper functions
    • Parameters

      • variable: undefined | Variable

      Returns estree.Node | undefined

    diff --git a/typedoc/functions/getUniqueWriteUsage.html b/typedoc/functions/getUniqueWriteUsage.html index 5401379691a..f483b2dbd08 100644 --- a/typedoc/functions/getUniqueWriteUsage.html +++ b/typedoc/functions/getUniqueWriteUsage.html @@ -1 +1 @@ -getUniqueWriteUsage | SonarJS linter helper functions
    • Parameters

      • context: RuleContext
      • name: string
      • node: Node

      Returns undefined | Node

    +getUniqueWriteUsage | SonarJS linter helper functions
    • Parameters

      • context: RuleContext
      • name: string
      • node: Node

      Returns undefined | Node

    diff --git a/typedoc/functions/getUniqueWriteUsageOrNode.html b/typedoc/functions/getUniqueWriteUsageOrNode.html index 5b2abda2a59..ab82b9fca41 100644 --- a/typedoc/functions/getUniqueWriteUsageOrNode.html +++ b/typedoc/functions/getUniqueWriteUsageOrNode.html @@ -1 +1 @@ -getUniqueWriteUsageOrNode | SonarJS linter helper functions
    • Parameters

      • context: RuleContext
      • node: Node
      • recursive: boolean = false

      Returns estree.Node

    +getUniqueWriteUsageOrNode | SonarJS linter helper functions
    • Parameters

      • context: RuleContext
      • node: Node
      • recursive: boolean = false

      Returns estree.Node

    diff --git a/typedoc/functions/getValueOfExpression.html b/typedoc/functions/getValueOfExpression.html index 881d5c5ee14..9c0807b9d2c 100644 --- a/typedoc/functions/getValueOfExpression.html +++ b/typedoc/functions/getValueOfExpression.html @@ -1 +1 @@ -getValueOfExpression | SonarJS linter helper functions
    • Type Parameters

      • T extends
            | "FunctionDeclaration"
            | "FunctionExpression"
            | "ArrowFunctionExpression"
            | "MethodDefinition"
            | "CatchClause"
            | "ClassBody"
            | "Identifier"
            | "Literal"
            | "PrivateIdentifier"
            | "Program"
            | "Property"
            | "PropertyDefinition"
            | "SpreadElement"
            | "Super"
            | "SwitchCase"
            | "TemplateElement"
            | "VariableDeclarator"
            | "ArrayExpression"
            | "AssignmentExpression"
            | "AwaitExpression"
            | "BinaryExpression"
            | "CallExpression"
            | "ChainExpression"
            | "ClassExpression"
            | "ConditionalExpression"
            | "ImportExpression"
            | "LogicalExpression"
            | "MemberExpression"
            | "MetaProperty"
            | "NewExpression"
            | "ObjectExpression"
            | "SequenceExpression"
            | "TaggedTemplateExpression"
            | "TemplateLiteral"
            | "ThisExpression"
            | "UnaryExpression"
            | "UpdateExpression"
            | "YieldExpression"
            | "ClassDeclaration"
            | "ImportDeclaration"
            | "ExportNamedDeclaration"
            | "ExportDefaultDeclaration"
            | "ExportAllDeclaration"
            | "ImportSpecifier"
            | "ImportDefaultSpecifier"
            | "ImportNamespaceSpecifier"
            | "ExportSpecifier"
            | "ObjectPattern"
            | "ArrayPattern"
            | "RestElement"
            | "AssignmentPattern"
            | "ExpressionStatement"
            | "BlockStatement"
            | "StaticBlock"
            | "EmptyStatement"
            | "DebuggerStatement"
            | "WithStatement"
            | "ReturnStatement"
            | "LabeledStatement"
            | "BreakStatement"
            | "ContinueStatement"
            | "IfStatement"
            | "SwitchStatement"
            | "ThrowStatement"
            | "TryStatement"
            | "WhileStatement"
            | "DoWhileStatement"
            | "ForStatement"
            | "ForInStatement"
            | "ForOfStatement"
            | "VariableDeclaration"

      Parameters

      • context: RuleContext
      • expr: undefined | null | Node
      • type: T
      • recursive: boolean = false

      Returns Extract<estree.Node, {
          type: T;
      }> | undefined

    +getValueOfExpression | SonarJS linter helper functions
    • Type Parameters

      • T extends
            | "FunctionDeclaration"
            | "FunctionExpression"
            | "ArrowFunctionExpression"
            | "MethodDefinition"
            | "CatchClause"
            | "ClassBody"
            | "Identifier"
            | "Literal"
            | "PrivateIdentifier"
            | "Program"
            | "Property"
            | "PropertyDefinition"
            | "SpreadElement"
            | "Super"
            | "SwitchCase"
            | "TemplateElement"
            | "VariableDeclarator"
            | "ArrayExpression"
            | "AssignmentExpression"
            | "AwaitExpression"
            | "BinaryExpression"
            | "CallExpression"
            | "ChainExpression"
            | "ClassExpression"
            | "ConditionalExpression"
            | "ImportExpression"
            | "LogicalExpression"
            | "MemberExpression"
            | "MetaProperty"
            | "NewExpression"
            | "ObjectExpression"
            | "SequenceExpression"
            | "TaggedTemplateExpression"
            | "TemplateLiteral"
            | "ThisExpression"
            | "UnaryExpression"
            | "UpdateExpression"
            | "YieldExpression"
            | "ClassDeclaration"
            | "ImportDeclaration"
            | "ExportNamedDeclaration"
            | "ExportDefaultDeclaration"
            | "ExportAllDeclaration"
            | "ImportSpecifier"
            | "ImportDefaultSpecifier"
            | "ImportNamespaceSpecifier"
            | "ExportSpecifier"
            | "ObjectPattern"
            | "ArrayPattern"
            | "RestElement"
            | "AssignmentPattern"
            | "ExpressionStatement"
            | "BlockStatement"
            | "StaticBlock"
            | "EmptyStatement"
            | "DebuggerStatement"
            | "WithStatement"
            | "ReturnStatement"
            | "LabeledStatement"
            | "BreakStatement"
            | "ContinueStatement"
            | "IfStatement"
            | "SwitchStatement"
            | "ThrowStatement"
            | "TryStatement"
            | "WhileStatement"
            | "DoWhileStatement"
            | "ForStatement"
            | "ForInStatement"
            | "ForOfStatement"
            | "VariableDeclaration"

      Parameters

      • context: RuleContext
      • expr: undefined | null | Node
      • type: T
      • recursive: boolean = false

      Returns Extract<estree.Node, {
          type: T;
      }> | undefined

    diff --git a/typedoc/functions/getVariableFromIdentifier.html b/typedoc/functions/getVariableFromIdentifier.html index d40ed207fa0..d8ef2d71dcb 100644 --- a/typedoc/functions/getVariableFromIdentifier.html +++ b/typedoc/functions/getVariableFromIdentifier.html @@ -1 +1 @@ -getVariableFromIdentifier | SonarJS linter helper functions
    • Parameters

      • identifier: Identifier
      • scope: Scope

      Returns undefined | Variable

    +getVariableFromIdentifier | SonarJS linter helper functions
    • Parameters

      • identifier: Identifier
      • scope: Scope

      Returns undefined | Variable

    diff --git a/typedoc/functions/getVariableFromName.html b/typedoc/functions/getVariableFromName.html index 69acaf165c2..0b94b13e6c8 100644 --- a/typedoc/functions/getVariableFromName.html +++ b/typedoc/functions/getVariableFromName.html @@ -1 +1 @@ -getVariableFromName | SonarJS linter helper functions
    • Parameters

      • context: RuleContext
      • name: string
      • node: Node

      Returns undefined | Variable

    +getVariableFromName | SonarJS linter helper functions
    • Parameters

      • context: RuleContext
      • name: string
      • node: Node

      Returns undefined | Variable

    diff --git a/typedoc/functions/getVariableFromScope.html b/typedoc/functions/getVariableFromScope.html index 0a7f8bcc3dc..e8a22a49fc4 100644 --- a/typedoc/functions/getVariableFromScope.html +++ b/typedoc/functions/getVariableFromScope.html @@ -1 +1 @@ -getVariableFromScope | SonarJS linter helper functions
    • Parameters

      • scope: null | Scope
      • name: string

      Returns undefined | Variable

    +getVariableFromScope | SonarJS linter helper functions
    • Parameters

      • scope: null | Scope
      • name: string

      Returns undefined | Variable

    diff --git a/typedoc/functions/interceptReport.html b/typedoc/functions/interceptReport.html index fd6b8bbbee3..c0fc4a77394 100644 --- a/typedoc/functions/interceptReport.html +++ b/typedoc/functions/interceptReport.html @@ -4,4 +4,4 @@
  • onReport: ReportOverrider

    replacement for context.report(descr) invocations used inside of the rule

  • OptionalcontextOverrider: ContextOverrider

    optional function to change the default context overridding mechanism

    -
  • Returns Rule.RuleModule

    +

    Returns Rule.RuleModule

    diff --git a/typedoc/functions/interceptReportForReact.html b/typedoc/functions/interceptReportForReact.html index d266c6c3977..f3147d04dea 100644 --- a/typedoc/functions/interceptReportForReact.html +++ b/typedoc/functions/interceptReportForReact.html @@ -1 +1 @@ -interceptReportForReact | SonarJS linter helper functions
    +interceptReportForReact | SonarJS linter helper functions
    diff --git a/typedoc/functions/isAny.html b/typedoc/functions/isAny.html index f4dfef63d08..8f51d9597d5 100644 --- a/typedoc/functions/isAny.html +++ b/typedoc/functions/isAny.html @@ -1 +1 @@ -isAny | SonarJS linter helper functions
    • Parameters

      • type: Type

      Returns boolean

    +isAny | SonarJS linter helper functions
    • Parameters

      • type: Type

      Returns boolean

    diff --git a/typedoc/functions/isAnyLiteral.html b/typedoc/functions/isAnyLiteral.html index b5771673824..0f13bb5a027 100644 --- a/typedoc/functions/isAnyLiteral.html +++ b/typedoc/functions/isAnyLiteral.html @@ -1 +1 @@ -isAnyLiteral | SonarJS linter helper functions
    +isAnyLiteral | SonarJS linter helper functions
    diff --git a/typedoc/functions/isArray.html b/typedoc/functions/isArray.html index 700264307fb..75f5f815eb7 100644 --- a/typedoc/functions/isArray.html +++ b/typedoc/functions/isArray.html @@ -1 +1 @@ -isArray | SonarJS linter helper functions
    • Parameters

      • node: Node
      • services: ParserServicesWithTypeInformation

      Returns boolean

    +isArray | SonarJS linter helper functions
    • Parameters

      • node: Node
      • services: ParserServicesWithTypeInformation

      Returns boolean

    diff --git a/typedoc/functions/isArrayExpression.html b/typedoc/functions/isArrayExpression.html index d5c8debf8b3..bbc91e949dd 100644 --- a/typedoc/functions/isArrayExpression.html +++ b/typedoc/functions/isArrayExpression.html @@ -1 +1 @@ -isArrayExpression | SonarJS linter helper functions
    • Parameters

      • node: undefined | Node

      Returns node is ArrayExpression

    +isArrayExpression | SonarJS linter helper functions
    • Parameters

      • node: undefined | Node

      Returns node is ArrayExpression

    diff --git a/typedoc/functions/isArrayLikeType.html b/typedoc/functions/isArrayLikeType.html index eccc049f254..4896f5005ae 100644 --- a/typedoc/functions/isArrayLikeType.html +++ b/typedoc/functions/isArrayLikeType.html @@ -2,4 +2,4 @@ consider the union of array types and generic types extending an array type.

    Parameters

    Returns boolean

    +

    Returns boolean

    diff --git a/typedoc/functions/isArrowFunctionExpression.html b/typedoc/functions/isArrowFunctionExpression.html index 48035f8bbe5..efedf7fe571 100644 --- a/typedoc/functions/isArrowFunctionExpression.html +++ b/typedoc/functions/isArrowFunctionExpression.html @@ -1 +1 @@ -isArrowFunctionExpression | SonarJS linter helper functions
    • Parameters

      • node: undefined | Node

      Returns node is ArrowFunctionExpression

    +isArrowFunctionExpression | SonarJS linter helper functions
    • Parameters

      • node: undefined | Node

      Returns node is ArrowFunctionExpression

    diff --git a/typedoc/functions/isBigIntArray.html b/typedoc/functions/isBigIntArray.html index fe8944f4580..5b6ae978004 100644 --- a/typedoc/functions/isBigIntArray.html +++ b/typedoc/functions/isBigIntArray.html @@ -1,4 +1,4 @@ isBigIntArray | SonarJS linter helper functions
    • Test if the provided type is an array of big integers.

      Parameters

      • type: Type

        A TypeScript type.

      • services: ParserServicesWithTypeInformation

        The services used to get access to the TypeScript type checker

        -

      Returns boolean

    +

    Returns boolean

    diff --git a/typedoc/functions/isBigIntType.html b/typedoc/functions/isBigIntType.html index 49a870eded7..0500de82e24 100644 --- a/typedoc/functions/isBigIntType.html +++ b/typedoc/functions/isBigIntType.html @@ -1 +1 @@ -isBigIntType | SonarJS linter helper functions
    • Parameters

      • type: Type

      Returns boolean

    +isBigIntType | SonarJS linter helper functions
    • Parameters

      • type: Type

      Returns boolean

    diff --git a/typedoc/functions/isBinaryPlus.html b/typedoc/functions/isBinaryPlus.html index f6a3a16ccae..ec70c56f65c 100644 --- a/typedoc/functions/isBinaryPlus.html +++ b/typedoc/functions/isBinaryPlus.html @@ -1 +1 @@ -isBinaryPlus | SonarJS linter helper functions
    • Parameters

      • node: Node

      Returns node is BinaryExpression & {
          operator: "+";
      }

    +isBinaryPlus | SonarJS linter helper functions
    • Parameters

      • node: Node

      Returns node is BinaryExpression & {
          operator: "+";
      }

    diff --git a/typedoc/functions/isBooleanLiteral.html b/typedoc/functions/isBooleanLiteral.html index 2f8dce1eca7..83afc8a5505 100644 --- a/typedoc/functions/isBooleanLiteral.html +++ b/typedoc/functions/isBooleanLiteral.html @@ -1 +1 @@ -isBooleanLiteral | SonarJS linter helper functions
    • Parameters

      • node: Node

      Returns node is Literal & {
          value: boolean;
      }

    +isBooleanLiteral | SonarJS linter helper functions
    • Parameters

      • node: Node

      Returns node is Literal & {
          value: boolean;
      }

    diff --git a/typedoc/functions/isBooleanLiteralType.html b/typedoc/functions/isBooleanLiteralType.html index bb19d270bf8..e59b9dca19b 100644 --- a/typedoc/functions/isBooleanLiteralType.html +++ b/typedoc/functions/isBooleanLiteralType.html @@ -1 +1 @@ -isBooleanLiteralType | SonarJS linter helper functions
    • Parameters

      • type: Type

      Returns type is Type & {
          intrinsicName: "true" | "false";
      }

    +isBooleanLiteralType | SonarJS linter helper functions
    • Parameters

      • type: Type

      Returns type is Type & {
          intrinsicName: "true" | "false";
      }

    diff --git a/typedoc/functions/isBooleanTrueType.html b/typedoc/functions/isBooleanTrueType.html index ef2626676d9..98528177fd1 100644 --- a/typedoc/functions/isBooleanTrueType.html +++ b/typedoc/functions/isBooleanTrueType.html @@ -1 +1 @@ -isBooleanTrueType | SonarJS linter helper functions
    • Parameters

      • type: Type

      Returns boolean

    +isBooleanTrueType | SonarJS linter helper functions
    • Parameters

      • type: Type

      Returns boolean

    diff --git a/typedoc/functions/isBooleanType.html b/typedoc/functions/isBooleanType.html index 09c0d5fffed..266d653364f 100644 --- a/typedoc/functions/isBooleanType.html +++ b/typedoc/functions/isBooleanType.html @@ -1 +1 @@ -isBooleanType | SonarJS linter helper functions
    • Parameters

      • __namedParameters: Type

      Returns number

    +isBooleanType | SonarJS linter helper functions
    • Parameters

      • __namedParameters: Type

      Returns number

    diff --git a/typedoc/functions/isCallingMethod.html b/typedoc/functions/isCallingMethod.html index 4efd33ff2f2..8a96835e0bb 100644 --- a/typedoc/functions/isCallingMethod.html +++ b/typedoc/functions/isCallingMethod.html @@ -1 +1 @@ -isCallingMethod | SonarJS linter helper functions
    • Parameters

      • callExpr: CallExpression
      • arity: number
      • Rest...methodNames: string[]

      Returns callExpr is CallExpression & {
          callee: MemberExpression & {
              property: Identifier;
          };
      }

    +isCallingMethod | SonarJS linter helper functions
    • Parameters

      • callExpr: CallExpression
      • arity: number
      • Rest...methodNames: string[]

      Returns callExpr is CallExpression & {
          callee: MemberExpression & {
              property: Identifier;
          };
      }

    diff --git a/typedoc/functions/isDefaultSpecifier.html b/typedoc/functions/isDefaultSpecifier.html index 86539468ae1..e63c2c911a6 100644 --- a/typedoc/functions/isDefaultSpecifier.html +++ b/typedoc/functions/isDefaultSpecifier.html @@ -1 +1 @@ -isDefaultSpecifier | SonarJS linter helper functions
    • Parameters

      • importDeclaration: ImportDeclaration
      • name: string

      Returns boolean

    +isDefaultSpecifier | SonarJS linter helper functions
    • Parameters

      • importDeclaration: ImportDeclaration
      • name: string

      Returns boolean

    diff --git a/typedoc/functions/isDotNotation.html b/typedoc/functions/isDotNotation.html index 6f2d29370cf..8f98324921e 100644 --- a/typedoc/functions/isDotNotation.html +++ b/typedoc/functions/isDotNotation.html @@ -1,2 +1,2 @@ isDotNotation | SonarJS linter helper functions
    • Checks if the node is of the form: foo.bar

      -

      Parameters

      • node: Node

      Returns node is MemberExpression & {
          property: Identifier;
      }

    +

    Parameters

    Returns node is MemberExpression & {
        property: Identifier;
    }

    diff --git a/typedoc/functions/isElementWrite.html b/typedoc/functions/isElementWrite.html index f70ba14dadc..45282533ee6 100644 --- a/typedoc/functions/isElementWrite.html +++ b/typedoc/functions/isElementWrite.html @@ -3,4 +3,4 @@ myArray[1] += 42; myObj.prop1 = 3; myObj.prop1 += 3;

    -

    Parameters

    Returns boolean

    +

    Parameters

    Returns boolean

    diff --git a/typedoc/functions/isFalseLiteral.html b/typedoc/functions/isFalseLiteral.html index feab47783a4..f4066c13d74 100644 --- a/typedoc/functions/isFalseLiteral.html +++ b/typedoc/functions/isFalseLiteral.html @@ -1 +1 @@ -isFalseLiteral | SonarJS linter helper functions
    • Parameters

      • n: Node

      Returns boolean

    +isFalseLiteral | SonarJS linter helper functions
    • Parameters

      • n: Node

      Returns boolean

    diff --git a/typedoc/functions/isFunction.html b/typedoc/functions/isFunction.html index 339799f6307..a992e20fa0e 100644 --- a/typedoc/functions/isFunction.html +++ b/typedoc/functions/isFunction.html @@ -1 +1 @@ -isFunction | SonarJS linter helper functions
    • Parameters

      • node: Node
      • services: ParserServicesWithTypeInformation

      Returns boolean

    +isFunction | SonarJS linter helper functions
    • Parameters

      • node: Node
      • services: ParserServicesWithTypeInformation

      Returns boolean

    diff --git a/typedoc/functions/isFunctionCall.html b/typedoc/functions/isFunctionCall.html index bde7279b99d..561c4d7f4f4 100644 --- a/typedoc/functions/isFunctionCall.html +++ b/typedoc/functions/isFunctionCall.html @@ -1 +1 @@ -isFunctionCall | SonarJS linter helper functions
    • Parameters

      • node: Node

      Returns node is CallExpression & {
          callee: Identifier;
      }

    +isFunctionCall | SonarJS linter helper functions
    • Parameters

      • node: Node

      Returns node is CallExpression & {
          callee: Identifier;
      }

    diff --git a/typedoc/functions/isFunctionDeclaration.html b/typedoc/functions/isFunctionDeclaration.html index 269a1114c10..e79963d15b7 100644 --- a/typedoc/functions/isFunctionDeclaration.html +++ b/typedoc/functions/isFunctionDeclaration.html @@ -1 +1 @@ -isFunctionDeclaration | SonarJS linter helper functions
    • Parameters

      • node: undefined | Node

      Returns node is FunctionDeclaration

    +isFunctionDeclaration | SonarJS linter helper functions
    • Parameters

      • node: undefined | Node

      Returns node is FunctionDeclaration

    diff --git a/typedoc/functions/isFunctionExpression.html b/typedoc/functions/isFunctionExpression.html index 0df4253151c..92a83ab2531 100644 --- a/typedoc/functions/isFunctionExpression.html +++ b/typedoc/functions/isFunctionExpression.html @@ -1 +1 @@ -isFunctionExpression | SonarJS linter helper functions
    • Parameters

      • node: undefined | Node

      Returns node is FunctionExpression

    +isFunctionExpression | SonarJS linter helper functions
    • Parameters

      • node: undefined | Node

      Returns node is FunctionExpression

    diff --git a/typedoc/functions/isFunctionInvocation.html b/typedoc/functions/isFunctionInvocation.html index e7e4618ae66..da348440c08 100644 --- a/typedoc/functions/isFunctionInvocation.html +++ b/typedoc/functions/isFunctionInvocation.html @@ -1 +1 @@ -isFunctionInvocation | SonarJS linter helper functions
    • Parameters

      • callExpression: CallExpression
      • functionName: string
      • minArgs: number

      Returns boolean

    +isFunctionInvocation | SonarJS linter helper functions
    • Parameters

      • callExpression: CallExpression
      • functionName: string
      • minArgs: number

      Returns boolean

    diff --git a/typedoc/functions/isFunctionNode.html b/typedoc/functions/isFunctionNode.html index 88aed3cc195..0b4fec28a65 100644 --- a/typedoc/functions/isFunctionNode.html +++ b/typedoc/functions/isFunctionNode.html @@ -1 +1 @@ -isFunctionNode | SonarJS linter helper functions
    +isFunctionNode | SonarJS linter helper functions
    diff --git a/typedoc/functions/isGenericType.html b/typedoc/functions/isGenericType.html index dc5829fba03..a41dbc8f243 100644 --- a/typedoc/functions/isGenericType.html +++ b/typedoc/functions/isGenericType.html @@ -4,4 +4,4 @@ }

    Parameters

    Returns boolean

    +

    Returns boolean

    diff --git a/typedoc/functions/isIdentifier.html b/typedoc/functions/isIdentifier.html index 8dc1ee9ff8d..06774d13dcc 100644 --- a/typedoc/functions/isIdentifier.html +++ b/typedoc/functions/isIdentifier.html @@ -1 +1 @@ -isIdentifier | SonarJS linter helper functions
    • Parameters

      • node: undefined | Node
      • Rest...values: string[]

      Returns node is Identifier

    +isIdentifier | SonarJS linter helper functions
    • Parameters

      • node: undefined | Node
      • Rest...values: string[]

      Returns node is Identifier

    diff --git a/typedoc/functions/isIfStatement.html b/typedoc/functions/isIfStatement.html index 76aadefe331..bb845fda504 100644 --- a/typedoc/functions/isIfStatement.html +++ b/typedoc/functions/isIfStatement.html @@ -1 +1 @@ -isIfStatement | SonarJS linter helper functions
    • Parameters

      • node: undefined | Node

      Returns node is IfStatement

    +isIfStatement | SonarJS linter helper functions
    • Parameters

      • node: undefined | Node

      Returns node is IfStatement

    diff --git a/typedoc/functions/isIndexNotation.html b/typedoc/functions/isIndexNotation.html index 3b8356e52e2..f868ddb4813 100644 --- a/typedoc/functions/isIndexNotation.html +++ b/typedoc/functions/isIndexNotation.html @@ -1,2 +1,2 @@ isIndexNotation | SonarJS linter helper functions
    • Checks if the node is of the form: foo["bar"]

      -

      Parameters

      • node: Node

      Returns node is MemberExpression & {
          property: StringLiteral;
      }

    +

    Parameters

    Returns node is MemberExpression & {
        property: StringLiteral;
    }

    diff --git a/typedoc/functions/isInsideVueSetupScript.html b/typedoc/functions/isInsideVueSetupScript.html index b196574b740..3e121e6ffe6 100644 --- a/typedoc/functions/isInsideVueSetupScript.html +++ b/typedoc/functions/isInsideVueSetupScript.html @@ -1 +1 @@ -isInsideVueSetupScript | SonarJS linter helper functions
    • Parameters

      • node: Node
      • ctx: RuleContext

      Returns boolean

    +isInsideVueSetupScript | SonarJS linter helper functions
    • Parameters

      • node: Node
      • ctx: RuleContext

      Returns boolean

    diff --git a/typedoc/functions/isLiteral.html b/typedoc/functions/isLiteral.html index cdbc169d760..999e1600121 100644 --- a/typedoc/functions/isLiteral.html +++ b/typedoc/functions/isLiteral.html @@ -1 +1 @@ -isLiteral | SonarJS linter helper functions
    • Parameters

      • n: null | Node

      Returns n is Literal

    +isLiteral | SonarJS linter helper functions
    • Parameters

      • n: null | Node

      Returns n is Literal

    diff --git a/typedoc/functions/isLogicalExpression.html b/typedoc/functions/isLogicalExpression.html index da49693fb74..a7d2016ad6a 100644 --- a/typedoc/functions/isLogicalExpression.html +++ b/typedoc/functions/isLogicalExpression.html @@ -1 +1 @@ -isLogicalExpression | SonarJS linter helper functions
    • Parameters

      • node: undefined | Node

      Returns node is LogicalExpression

    +isLogicalExpression | SonarJS linter helper functions
    • Parameters

      • node: undefined | Node

      Returns node is LogicalExpression

    diff --git a/typedoc/functions/isMemberExpression.html b/typedoc/functions/isMemberExpression.html index f9ee0c83369..ba14846231a 100644 --- a/typedoc/functions/isMemberExpression.html +++ b/typedoc/functions/isMemberExpression.html @@ -1 +1 @@ -isMemberExpression | SonarJS linter helper functions
    • Parameters

      • node: Node
      • objectValue: string
      • Rest...propertyValue: string[]

      Returns boolean

    +isMemberExpression | SonarJS linter helper functions
    • Parameters

      • node: Node
      • objectValue: string
      • Rest...propertyValue: string[]

      Returns boolean

    diff --git a/typedoc/functions/isMemberWithProperty.html b/typedoc/functions/isMemberWithProperty.html index 112a486bc2e..dbd590ba47c 100644 --- a/typedoc/functions/isMemberWithProperty.html +++ b/typedoc/functions/isMemberWithProperty.html @@ -1 +1 @@ -isMemberWithProperty | SonarJS linter helper functions
    • Parameters

      • node: Node
      • Rest...values: string[]

      Returns boolean

    +isMemberWithProperty | SonarJS linter helper functions
    • Parameters

      • node: Node
      • Rest...values: string[]

      Returns boolean

    diff --git a/typedoc/functions/isMethodCall.html b/typedoc/functions/isMethodCall.html index c740dbf78be..8885d273918 100644 --- a/typedoc/functions/isMethodCall.html +++ b/typedoc/functions/isMethodCall.html @@ -1 +1 @@ -isMethodCall | SonarJS linter helper functions
    • Parameters

      • callExpr: CallExpression

      Returns callExpr is CallExpression & {
          callee: MemberExpression & {
              property: Identifier;
          };
      }

    +isMethodCall | SonarJS linter helper functions
    • Parameters

      • callExpr: CallExpression

      Returns callExpr is CallExpression & {
          callee: MemberExpression & {
              property: Identifier;
          };
      }

    diff --git a/typedoc/functions/isMethodInvocation.html b/typedoc/functions/isMethodInvocation.html index 6cd286dc675..e793bdb3936 100644 --- a/typedoc/functions/isMethodInvocation.html +++ b/typedoc/functions/isMethodInvocation.html @@ -1 +1 @@ -isMethodInvocation | SonarJS linter helper functions
    • Parameters

      • callExpression: CallExpression
      • objectIdentifierName: string
      • methodName: string
      • minArgs: number

      Returns boolean

    +isMethodInvocation | SonarJS linter helper functions
    • Parameters

      • callExpression: CallExpression
      • objectIdentifierName: string
      • methodName: string
      • minArgs: number

      Returns boolean

    diff --git a/typedoc/functions/isModuleDeclaration.html b/typedoc/functions/isModuleDeclaration.html index 5de0b239f2d..09d8715ddcd 100644 --- a/typedoc/functions/isModuleDeclaration.html +++ b/typedoc/functions/isModuleDeclaration.html @@ -1 +1 @@ -isModuleDeclaration | SonarJS linter helper functions
    • Parameters

      • node: undefined | Node

      Returns node is
          | ImportDeclaration
          | ExportNamedDeclaration
          | ExportDefaultDeclaration
          | ExportAllDeclaration

    +isModuleDeclaration | SonarJS linter helper functions
    • Parameters

      • node: undefined | Node

      Returns node is
          | ImportDeclaration
          | ExportNamedDeclaration
          | ExportDefaultDeclaration
          | ExportAllDeclaration

    diff --git a/typedoc/functions/isModuleExports.html b/typedoc/functions/isModuleExports.html index 99c04e9446e..6157a29ccdb 100644 --- a/typedoc/functions/isModuleExports.html +++ b/typedoc/functions/isModuleExports.html @@ -1 +1 @@ -isModuleExports | SonarJS linter helper functions
    • Parameters

      • node: Node

      Returns boolean

    +isModuleExports | SonarJS linter helper functions
    • Parameters

      • node: Node

      Returns boolean

    diff --git a/typedoc/functions/isNamespaceSpecifier.html b/typedoc/functions/isNamespaceSpecifier.html index 21865044797..87de5aca619 100644 --- a/typedoc/functions/isNamespaceSpecifier.html +++ b/typedoc/functions/isNamespaceSpecifier.html @@ -1 +1 @@ -isNamespaceSpecifier | SonarJS linter helper functions
    • Parameters

      • importDeclaration: ImportDeclaration
      • name: string

      Returns boolean

    +isNamespaceSpecifier | SonarJS linter helper functions
    • Parameters

      • importDeclaration: ImportDeclaration
      • name: string

      Returns boolean

    diff --git a/typedoc/functions/isNullLiteral.html b/typedoc/functions/isNullLiteral.html index 79364256bca..7345d5cf9ae 100644 --- a/typedoc/functions/isNullLiteral.html +++ b/typedoc/functions/isNullLiteral.html @@ -1 +1 @@ -isNullLiteral | SonarJS linter helper functions
    • Parameters

      • n: Node

      Returns boolean

    +isNullLiteral | SonarJS linter helper functions
    • Parameters

      • n: Node

      Returns boolean

    diff --git a/typedoc/functions/isNullOrUndefinedType.html b/typedoc/functions/isNullOrUndefinedType.html index 121572ef61f..14702699d8d 100644 --- a/typedoc/functions/isNullOrUndefinedType.html +++ b/typedoc/functions/isNullOrUndefinedType.html @@ -1 +1 @@ -isNullOrUndefinedType | SonarJS linter helper functions
    • Parameters

      • __namedParameters: Type

      Returns number

    +isNullOrUndefinedType | SonarJS linter helper functions
    • Parameters

      • __namedParameters: Type

      Returns number

    diff --git a/typedoc/functions/isNumber.html b/typedoc/functions/isNumber.html index d388123a4e6..544946a85e1 100644 --- a/typedoc/functions/isNumber.html +++ b/typedoc/functions/isNumber.html @@ -1 +1 @@ -isNumber | SonarJS linter helper functions
    • Parameters

      • node: Node
      • services: ParserServicesWithTypeInformation

      Returns boolean

    +isNumber | SonarJS linter helper functions
    • Parameters

      • node: Node
      • services: ParserServicesWithTypeInformation

      Returns boolean

    diff --git a/typedoc/functions/isNumberArray.html b/typedoc/functions/isNumberArray.html index c0711f4b18c..e085a99d878 100644 --- a/typedoc/functions/isNumberArray.html +++ b/typedoc/functions/isNumberArray.html @@ -1,4 +1,4 @@ isNumberArray | SonarJS linter helper functions
    • Test if the provided type is an array of numbers.

      Parameters

      • type: Type

        A TypeScript type.

      • services: ParserServicesWithTypeInformation

        The services used to get access to the TypeScript type checker

        -

      Returns boolean

    +

    Returns boolean

    diff --git a/typedoc/functions/isNumberLiteral.html b/typedoc/functions/isNumberLiteral.html index 67238b689bd..8271d42a98d 100644 --- a/typedoc/functions/isNumberLiteral.html +++ b/typedoc/functions/isNumberLiteral.html @@ -1 +1 @@ -isNumberLiteral | SonarJS linter helper functions
    • Parameters

      • node: Node

      Returns node is Literal & {
          value: number;
      }

    +isNumberLiteral | SonarJS linter helper functions
    • Parameters

      • node: Node

      Returns node is Literal & {
          value: number;
      }

    diff --git a/typedoc/functions/isNumberType.html b/typedoc/functions/isNumberType.html index 12ae3573751..c27c8beb320 100644 --- a/typedoc/functions/isNumberType.html +++ b/typedoc/functions/isNumberType.html @@ -1 +1 @@ -isNumberType | SonarJS linter helper functions
    • Parameters

      • type: Type

      Returns boolean

    +isNumberType | SonarJS linter helper functions
    • Parameters

      • type: Type

      Returns boolean

    diff --git a/typedoc/functions/isObjectDestructuring.html b/typedoc/functions/isObjectDestructuring.html index d855a6d9462..47c63543ec1 100644 --- a/typedoc/functions/isObjectDestructuring.html +++ b/typedoc/functions/isObjectDestructuring.html @@ -1 +1 @@ -isObjectDestructuring | SonarJS linter helper functions
    • Parameters

      • node: Node

      Returns node is VariableDeclarator & {
          id: ObjectPattern;
      } | AssignmentExpression & {
          left: ObjectPattern;
      }

    +isObjectDestructuring | SonarJS linter helper functions
    • Parameters

      • node: Node

      Returns node is VariableDeclarator & {
          id: ObjectPattern;
      } | AssignmentExpression & {
          left: ObjectPattern;
      }

    diff --git a/typedoc/functions/isObjectType.html b/typedoc/functions/isObjectType.html index 28a0c94025c..1b281abf1d5 100644 --- a/typedoc/functions/isObjectType.html +++ b/typedoc/functions/isObjectType.html @@ -1 +1 @@ -isObjectType | SonarJS linter helper functions
    • Parameters

      • __namedParameters: Type

      Returns number

    +isObjectType | SonarJS linter helper functions
    • Parameters

      • __namedParameters: Type

      Returns number

    diff --git a/typedoc/functions/isPresentationTable.html b/typedoc/functions/isPresentationTable.html index 5dfc3fc9db6..81e14002dac 100644 --- a/typedoc/functions/isPresentationTable.html +++ b/typedoc/functions/isPresentationTable.html @@ -1 +1 @@ -isPresentationTable | SonarJS linter helper functions
    • Parameters

      • context: RuleContext
      • node: JSXOpeningElement

      Returns boolean

    +isPresentationTable | SonarJS linter helper functions
    • Parameters

      • context: RuleContext
      • node: JSXOpeningElement

      Returns boolean

    diff --git a/typedoc/functions/isProperty.html b/typedoc/functions/isProperty.html index 9a8d8ef6f74..c5d466fff52 100644 --- a/typedoc/functions/isProperty.html +++ b/typedoc/functions/isProperty.html @@ -1 +1 @@ -isProperty | SonarJS linter helper functions
    • Parameters

      • node: Node

      Returns node is Property

    +isProperty | SonarJS linter helper functions
    • Parameters

      • node: Node

      Returns node is Property

    diff --git a/typedoc/functions/isReferenceTo.html b/typedoc/functions/isReferenceTo.html index 213a71295ac..65f41e6f00c 100644 --- a/typedoc/functions/isReferenceTo.html +++ b/typedoc/functions/isReferenceTo.html @@ -1 +1 @@ -isReferenceTo | SonarJS linter helper functions
    • Parameters

      • ref: Reference
      • node: Node

      Returns boolean

    +isReferenceTo | SonarJS linter helper functions
    • Parameters

      • ref: Reference
      • node: Node

      Returns boolean

    diff --git a/typedoc/functions/isRegexLiteral.html b/typedoc/functions/isRegexLiteral.html index 77c21b319cb..2391916732d 100644 --- a/typedoc/functions/isRegexLiteral.html +++ b/typedoc/functions/isRegexLiteral.html @@ -1 +1 @@ -isRegexLiteral | SonarJS linter helper functions
    • Parameters

      • node: Node

      Returns node is RegExpLiteral

    +isRegexLiteral | SonarJS linter helper functions
    • Parameters

      • node: Node

      Returns node is RegExpLiteral

    diff --git a/typedoc/functions/isRequire.html b/typedoc/functions/isRequire.html index 042860666c3..4dac6ed7106 100644 --- a/typedoc/functions/isRequire.html +++ b/typedoc/functions/isRequire.html @@ -1 +1 @@ -isRequire | SonarJS linter helper functions
    • Parameters

      Returns node is CallExpression

    +isRequire | SonarJS linter helper functions
    • Parameters

      Returns node is CallExpression

    diff --git a/typedoc/functions/isRequireModule.html b/typedoc/functions/isRequireModule.html index c74d598b586..541273cb5ae 100644 --- a/typedoc/functions/isRequireModule.html +++ b/typedoc/functions/isRequireModule.html @@ -1 +1 @@ -isRequireModule | SonarJS linter helper functions
    • Parameters

      • node: CallExpression
      • Rest...moduleNames: string[]

      Returns boolean

    +isRequireModule | SonarJS linter helper functions
    • Parameters

      • node: CallExpression
      • Rest...moduleNames: string[]

      Returns boolean

    diff --git a/typedoc/functions/isRequiredParserServices.html b/typedoc/functions/isRequiredParserServices.html index f66d0a16ec9..15a53c00f70 100644 --- a/typedoc/functions/isRequiredParserServices.html +++ b/typedoc/functions/isRequiredParserServices.html @@ -1 +1 @@ -isRequiredParserServices | SonarJS linter helper functions
    • Parameters

      • services: undefined | ParserServices

      Returns services is ParserServicesWithTypeInformation

    +isRequiredParserServices | SonarJS linter helper functions
    • Parameters

      • services: undefined | ParserServices

      Returns services is ParserServicesWithTypeInformation

    diff --git a/typedoc/functions/isRoot.html b/typedoc/functions/isRoot.html index fcac77eed02..32abb6aaf97 100644 --- a/typedoc/functions/isRoot.html +++ b/typedoc/functions/isRoot.html @@ -1 +1 @@ -isRoot | SonarJS linter helper functions
    • Parameters

      • file: string

      Returns boolean

    +isRoot | SonarJS linter helper functions
    • Parameters

      • file: string

      Returns boolean

    diff --git a/typedoc/functions/isS3BucketConstructor.html b/typedoc/functions/isS3BucketConstructor.html index 187d4de307e..e3995359683 100644 --- a/typedoc/functions/isS3BucketConstructor.html +++ b/typedoc/functions/isS3BucketConstructor.html @@ -1,4 +1,4 @@ isS3BucketConstructor | SonarJS linter helper functions
    • Detects S3 Bucket's constructor invocation from 'aws-cdk-lib/aws-s3':

      const s3 = require('aws-cdk-lib/aws-s3'); new s3.Bucket();

      -

      Parameters

      • context: RuleContext
      • node: NewExpression

      Returns boolean

    +

    Parameters

    Returns boolean

    diff --git a/typedoc/functions/isS3BucketDeploymentConstructor.html b/typedoc/functions/isS3BucketDeploymentConstructor.html index 69b3f67b46e..3392df1870b 100644 --- a/typedoc/functions/isS3BucketDeploymentConstructor.html +++ b/typedoc/functions/isS3BucketDeploymentConstructor.html @@ -1,4 +1,4 @@ isS3BucketDeploymentConstructor | SonarJS linter helper functions
    • Detects S3 BucketDeployment's constructor invocation from 'aws-cdk-lib/aws-s3-deployment':

      const s3 = require('aws-cdk-lib/aws-s3-deployment'); new s3.BucketDeployment();

      -

      Parameters

      • context: RuleContext
      • node: NewExpression

      Returns boolean

    +

    Parameters

    Returns boolean

    diff --git a/typedoc/functions/isSimpleRawString.html b/typedoc/functions/isSimpleRawString.html index 725d455132a..4fe42d9bb71 100644 --- a/typedoc/functions/isSimpleRawString.html +++ b/typedoc/functions/isSimpleRawString.html @@ -1 +1 @@ -isSimpleRawString | SonarJS linter helper functions
    • Parameters

      • node: Node

      Returns node is TaggedTemplateExpression

    +isSimpleRawString | SonarJS linter helper functions
    • Parameters

      • node: Node

      Returns node is TaggedTemplateExpression

    diff --git a/typedoc/functions/isStaticTemplateLiteral.html b/typedoc/functions/isStaticTemplateLiteral.html index e64936449aa..67c78d2949c 100644 --- a/typedoc/functions/isStaticTemplateLiteral.html +++ b/typedoc/functions/isStaticTemplateLiteral.html @@ -1 +1 @@ -isStaticTemplateLiteral | SonarJS linter helper functions
    • Parameters

      • node: Node

      Returns node is TemplateLiteral

    +isStaticTemplateLiteral | SonarJS linter helper functions
    • Parameters

      • node: Node

      Returns node is TemplateLiteral

    diff --git a/typedoc/functions/isString.html b/typedoc/functions/isString.html index 3b85ee66403..936aefbb075 100644 --- a/typedoc/functions/isString.html +++ b/typedoc/functions/isString.html @@ -1 +1 @@ -isString | SonarJS linter helper functions
    • Parameters

      • node: Node
      • services: ParserServicesWithTypeInformation

      Returns boolean

    +isString | SonarJS linter helper functions
    • Parameters

      • node: Node
      • services: ParserServicesWithTypeInformation

      Returns boolean

    diff --git a/typedoc/functions/isStringArray.html b/typedoc/functions/isStringArray.html index 60803638232..4604a0f1ef0 100644 --- a/typedoc/functions/isStringArray.html +++ b/typedoc/functions/isStringArray.html @@ -1,4 +1,4 @@ isStringArray | SonarJS linter helper functions
    • Test if the provided type is an array of strings.

      Parameters

      • type: Type

        A TypeScript type.

      • services: ParserServicesWithTypeInformation

        The services used to get access to the TypeScript type checker

        -

      Returns boolean

    +

    Returns boolean

    diff --git a/typedoc/functions/isStringLiteral.html b/typedoc/functions/isStringLiteral.html index a6f19e72aa7..f7e9a433857 100644 --- a/typedoc/functions/isStringLiteral.html +++ b/typedoc/functions/isStringLiteral.html @@ -1 +1 @@ -isStringLiteral | SonarJS linter helper functions
    +isStringLiteral | SonarJS linter helper functions
    diff --git a/typedoc/functions/isStringType.html b/typedoc/functions/isStringType.html index 083ce6a8010..b922c34c56d 100644 --- a/typedoc/functions/isStringType.html +++ b/typedoc/functions/isStringType.html @@ -1 +1 @@ -isStringType | SonarJS linter helper functions
    • Parameters

      • type: Type

      Returns boolean

    +isStringType | SonarJS linter helper functions
    • Parameters

      • type: Type

      Returns boolean

    diff --git a/typedoc/functions/isSupported.html b/typedoc/functions/isSupported.html index aba9487bddb..457c36ae87e 100644 --- a/typedoc/functions/isSupported.html +++ b/typedoc/functions/isSupported.html @@ -1,3 +1,3 @@ isSupported | SonarJS linter helper functions
    • Checks if context where the filename is located supports the provided minimum versions.

      -

      Parameters

      • dirname: string
      • minVersions: MinimumVersions

      Returns boolean

    +

    Parameters

    Returns boolean

    diff --git a/typedoc/functions/isThenable.html b/typedoc/functions/isThenable.html index d8e4611d6dd..f06803836a2 100644 --- a/typedoc/functions/isThenable.html +++ b/typedoc/functions/isThenable.html @@ -1 +1 @@ -isThenable | SonarJS linter helper functions
    • Parameters

      • node: Node
      • services: ParserServicesWithTypeInformation

      Returns boolean

    +isThenable | SonarJS linter helper functions
    • Parameters

      • node: Node
      • services: ParserServicesWithTypeInformation

      Returns boolean

    diff --git a/typedoc/functions/isThisExpression.html b/typedoc/functions/isThisExpression.html index 6657b557e99..a0347476b65 100644 --- a/typedoc/functions/isThisExpression.html +++ b/typedoc/functions/isThisExpression.html @@ -1 +1 @@ -isThisExpression | SonarJS linter helper functions
    • Parameters

      • node: Node

      Returns node is ThisExpression

    +isThisExpression | SonarJS linter helper functions
    • Parameters

      • node: Node

      Returns node is ThisExpression

    diff --git a/typedoc/functions/isThrowStatement.html b/typedoc/functions/isThrowStatement.html index 91b3db741ee..ee29a6d3a72 100644 --- a/typedoc/functions/isThrowStatement.html +++ b/typedoc/functions/isThrowStatement.html @@ -1 +1 @@ -isThrowStatement | SonarJS linter helper functions
    • Parameters

      • node: undefined | Node

      Returns node is ThrowStatement

    +isThrowStatement | SonarJS linter helper functions
    • Parameters

      • node: undefined | Node

      Returns node is ThrowStatement

    diff --git a/typedoc/functions/isTypeAlias.html b/typedoc/functions/isTypeAlias.html index ad492af088b..d2827c85f40 100644 --- a/typedoc/functions/isTypeAlias.html +++ b/typedoc/functions/isTypeAlias.html @@ -1,4 +1,4 @@ isTypeAlias | SonarJS linter helper functions
    • Checks whether a TypeScript type node denotes a type alias.

      Parameters

      • node: TypeNode

        a type node to check

      • context: RuleContext

        the rule context

        -

      Returns undefined | boolean

    +

    Returns undefined | boolean

    diff --git a/typedoc/functions/isTypedArray.html b/typedoc/functions/isTypedArray.html index bb18717c977..d56ee718fe1 100644 --- a/typedoc/functions/isTypedArray.html +++ b/typedoc/functions/isTypedArray.html @@ -1,2 +1,2 @@ isTypedArray | SonarJS linter helper functions
    • Checks if the provided node is a JS typed array like "BigInt64Array". See TYPED_ARRAY_TYPES

      -

      Parameters

      • node: Node
      • services: ParserServicesWithTypeInformation

      Returns boolean

    +

    Parameters

    Returns boolean

    diff --git a/typedoc/functions/isUnaryExpression.html b/typedoc/functions/isUnaryExpression.html index b2a1fcf2765..884642accaf 100644 --- a/typedoc/functions/isUnaryExpression.html +++ b/typedoc/functions/isUnaryExpression.html @@ -1 +1 @@ -isUnaryExpression | SonarJS linter helper functions
    • Parameters

      • node: undefined | Node

      Returns node is UnaryExpression

    +isUnaryExpression | SonarJS linter helper functions
    • Parameters

      • node: undefined | Node

      Returns node is UnaryExpression

    diff --git a/typedoc/functions/isUndefined.html b/typedoc/functions/isUndefined.html index 24731131418..794eb886830 100644 --- a/typedoc/functions/isUndefined.html +++ b/typedoc/functions/isUndefined.html @@ -1 +1 @@ -isUndefined | SonarJS linter helper functions
    • Parameters

      Returns boolean

    +isUndefined | SonarJS linter helper functions
    • Parameters

      Returns boolean

    diff --git a/typedoc/functions/isUndefinedOrNull.html b/typedoc/functions/isUndefinedOrNull.html index 8197cd0c795..cdf6b3cb183 100644 --- a/typedoc/functions/isUndefinedOrNull.html +++ b/typedoc/functions/isUndefinedOrNull.html @@ -1 +1 @@ -isUndefinedOrNull | SonarJS linter helper functions
    • Parameters

      • node: Node
      • services: ParserServicesWithTypeInformation

      Returns boolean

    +isUndefinedOrNull | SonarJS linter helper functions
    • Parameters

      • node: Node
      • services: ParserServicesWithTypeInformation

      Returns boolean

    diff --git a/typedoc/functions/isUnion.html b/typedoc/functions/isUnion.html index 5849b8a0777..1cbf6ee03d9 100644 --- a/typedoc/functions/isUnion.html +++ b/typedoc/functions/isUnion.html @@ -1 +1 @@ -isUnion | SonarJS linter helper functions
    • Parameters

      • node: Node
      • services: ParserServicesWithTypeInformation

      Returns boolean

    +isUnion | SonarJS linter helper functions
    • Parameters

      • node: Node
      • services: ParserServicesWithTypeInformation

      Returns boolean

    diff --git a/typedoc/functions/isUnresolved.html b/typedoc/functions/isUnresolved.html index 3655abd9d74..6c447afdc4a 100644 --- a/typedoc/functions/isUnresolved.html +++ b/typedoc/functions/isUnresolved.html @@ -6,4 +6,4 @@

    Parameters

    Returns boolean

    +

    Returns boolean

    diff --git a/typedoc/functions/isVariableDeclaration.html b/typedoc/functions/isVariableDeclaration.html index a97a88176eb..ffb0563ebe2 100644 --- a/typedoc/functions/isVariableDeclaration.html +++ b/typedoc/functions/isVariableDeclaration.html @@ -1 +1 @@ -isVariableDeclaration | SonarJS linter helper functions
    • Parameters

      • node: undefined | Node

      Returns node is VariableDeclaration

    +isVariableDeclaration | SonarJS linter helper functions
    • Parameters

      • node: undefined | Node

      Returns node is VariableDeclaration

    diff --git a/typedoc/functions/last.html b/typedoc/functions/last.html index 409885a5091..650c7e0a58d 100644 --- a/typedoc/functions/last.html +++ b/typedoc/functions/last.html @@ -1 +1 @@ -last | SonarJS linter helper functions
    +last | SonarJS linter helper functions
    diff --git a/typedoc/functions/localAncestorsChain.html b/typedoc/functions/localAncestorsChain.html index ba932754fb5..fa1924a19e3 100644 --- a/typedoc/functions/localAncestorsChain.html +++ b/typedoc/functions/localAncestorsChain.html @@ -1 +1 @@ -localAncestorsChain | SonarJS linter helper functions
    • Parameters

      • node: Node

      Returns Node[]

    +localAncestorsChain | SonarJS linter helper functions
    • Parameters

      • node: Node

      Returns Node[]

    diff --git a/typedoc/functions/lva.html b/typedoc/functions/lva.html index 5fd3d4d4d4e..aa6343cf9d5 100644 --- a/typedoc/functions/lva.html +++ b/typedoc/functions/lva.html @@ -1 +1 @@ -lva | SonarJS linter helper functions
    • Parameters

      Returns void

    +lva | SonarJS linter helper functions
    • Parameters

      Returns void

    diff --git a/typedoc/functions/mergeRules.html b/typedoc/functions/mergeRules.html index 71c0be5cf91..0a97bd351db 100644 --- a/typedoc/functions/mergeRules.html +++ b/typedoc/functions/mergeRules.html @@ -7,4 +7,4 @@ listen to CallExpression node visits. They will be run one after the other.

    Parameters

    Returns Rule.RuleListener

    the merge of the rules' listeners

    -
    +
    diff --git a/typedoc/functions/normalizeFQN.html b/typedoc/functions/normalizeFQN.html index 327e91bc823..733275114a9 100644 --- a/typedoc/functions/normalizeFQN.html +++ b/typedoc/functions/normalizeFQN.html @@ -1 +1 @@ -normalizeFQN | SonarJS linter helper functions
    • Parameters

      • Optionalfqn: null | string

      Returns undefined | string

    +normalizeFQN | SonarJS linter helper functions
    • Parameters

      • Optionalfqn: null | string

      Returns undefined | string

    diff --git a/typedoc/functions/reachingDefinitions-1.html b/typedoc/functions/reachingDefinitions-1.html index e2fd548e90c..e731b1867bc 100644 --- a/typedoc/functions/reachingDefinitions-1.html +++ b/typedoc/functions/reachingDefinitions-1.html @@ -1 +1 @@ -reachingDefinitions | SonarJS linter helper functions
    +reachingDefinitions | SonarJS linter helper functions
    diff --git a/typedoc/functions/readFileSync.html b/typedoc/functions/readFileSync.html index 11aeae67255..b41a6d182f2 100644 --- a/typedoc/functions/readFileSync.html +++ b/typedoc/functions/readFileSync.html @@ -3,4 +3,4 @@ present in the file's header.

    Parameters

    Returns string

    Promise which resolves with the content of the file

    -
    +
    diff --git a/typedoc/functions/reduceTo.html b/typedoc/functions/reduceTo.html index c943da4e8e0..d8088fda10d 100644 --- a/typedoc/functions/reduceTo.html +++ b/typedoc/functions/reduceTo.html @@ -4,4 +4,4 @@ checked as its type it's not guaranteed to match the passed type.

  • node: Node

    the Node to traverse

  • fqn: string[] = []

    the array with the qualifiers

    -
  • Returns estree.Node

    +

    Returns estree.Node

    diff --git a/typedoc/functions/reduceToIdentifier.html b/typedoc/functions/reduceToIdentifier.html index 053fbf4cf21..6ac5ae05810 100644 --- a/typedoc/functions/reduceToIdentifier.html +++ b/typedoc/functions/reduceToIdentifier.html @@ -2,4 +2,4 @@ filling in the FQN array with the accessed properties.

    Parameters

    Returns estree.Node

    +

    Returns estree.Node

    diff --git a/typedoc/functions/removeNodeWithLeadingWhitespaces.html b/typedoc/functions/removeNodeWithLeadingWhitespaces.html index b3e6b93f7fe..c28dc769d09 100644 --- a/typedoc/functions/removeNodeWithLeadingWhitespaces.html +++ b/typedoc/functions/removeNodeWithLeadingWhitespaces.html @@ -1 +1 @@ -removeNodeWithLeadingWhitespaces | SonarJS linter helper functions
    • Parameters

      • context: RuleContext
      • node: Node
      • fixer: RuleFixer
      • OptionalremoveUntil: number

      Returns Fix

    +removeNodeWithLeadingWhitespaces | SonarJS linter helper functions
    • Parameters

      • context: RuleContext
      • node: Node
      • fixer: RuleFixer
      • OptionalremoveUntil: number

      Returns Fix

    diff --git a/typedoc/functions/report.html b/typedoc/functions/report.html index e59fe77ee7e..99abddcc3f0 100644 --- a/typedoc/functions/report.html +++ b/typedoc/functions/report.html @@ -1,4 +1,4 @@ report | SonarJS linter helper functions
    • Wrapper for context.report, supporting secondary locations and cost. Encode those extra information in the issue message when rule is executed in Sonar* environment.

      -

      Parameters

      • context: RuleContext
      • reportDescriptor: ReportDescriptor
      • secondaryLocations: IssueLocation[] = []
      • Optionalcost: number

      Returns void

    +

    Parameters

    Returns void

    diff --git a/typedoc/functions/resolveAssignedValues.html b/typedoc/functions/resolveAssignedValues.html index cd166ae01c7..dc95ce09b2d 100644 --- a/typedoc/functions/resolveAssignedValues.html +++ b/typedoc/functions/resolveAssignedValues.html @@ -1 +1 @@ -resolveAssignedValues | SonarJS linter helper functions
    • Parameters

      • lhsVariable: Variable
      • writeExpr: null | Node
      • assignedValuesMap: Map<Variable, Values>
      • scope: Scope

      Returns Values

    +resolveAssignedValues | SonarJS linter helper functions
    • Parameters

      • lhsVariable: Variable
      • writeExpr: null | Node
      • assignedValuesMap: Map<Variable, Values>
      • scope: Scope

      Returns Values

    diff --git a/typedoc/functions/resolveFromFunctionReference.html b/typedoc/functions/resolveFromFunctionReference.html index 453768e7215..8872681d556 100644 --- a/typedoc/functions/resolveFromFunctionReference.html +++ b/typedoc/functions/resolveFromFunctionReference.html @@ -1 +1 @@ -resolveFromFunctionReference | SonarJS linter helper functions
    • Parameters

      • context: RuleContext
      • functionIdentifier: Identifier

      Returns null | FunctionExpression | FunctionDeclaration

    +resolveFromFunctionReference | SonarJS linter helper functions
    • Parameters

      • context: RuleContext
      • functionIdentifier: Identifier

      Returns null | FunctionExpression | FunctionDeclaration

    diff --git a/typedoc/functions/resolveFunction.html b/typedoc/functions/resolveFunction.html index 8bb7a270d88..0f2b6f6b05b 100644 --- a/typedoc/functions/resolveFunction.html +++ b/typedoc/functions/resolveFunction.html @@ -1 +1 @@ -resolveFunction | SonarJS linter helper functions
    • Parameters

      • context: RuleContext
      • node: Node

      Returns estree.Function | null

    +resolveFunction | SonarJS linter helper functions
    • Parameters

      • context: RuleContext
      • node: Node

      Returns estree.Function | null

    diff --git a/typedoc/functions/resolveIdentifiers.html b/typedoc/functions/resolveIdentifiers.html index 843e7f86ae5..2f4940f8d1b 100644 --- a/typedoc/functions/resolveIdentifiers.html +++ b/typedoc/functions/resolveIdentifiers.html @@ -1 +1 @@ -resolveIdentifiers | SonarJS linter helper functions
    • Parameters

      • node: Node
      • acceptShorthand: boolean = false

      Returns TSESTree.Identifier[]

    +resolveIdentifiers | SonarJS linter helper functions
    • Parameters

      • node: Node
      • acceptShorthand: boolean = false

      Returns TSESTree.Identifier[]

    diff --git a/typedoc/functions/searchFiles.html b/typedoc/functions/searchFiles.html index 8d6f73bbce7..ebd387f3ae9 100644 --- a/typedoc/functions/searchFiles.html +++ b/typedoc/functions/searchFiles.html @@ -4,4 +4,4 @@

    Parameters

    Returns FilesByFilter

    +

    Returns FilesByFilter

    diff --git a/typedoc/functions/stripBOM.html b/typedoc/functions/stripBOM.html index fc5b5a410ca..44f58fc7876 100644 --- a/typedoc/functions/stripBOM.html +++ b/typedoc/functions/stripBOM.html @@ -2,4 +2,4 @@

    A string's head is nothing else but its first character.

    Parameters

    Returns string

    the stripped string

    -
    +
    diff --git a/typedoc/functions/takeWithoutBreak.html b/typedoc/functions/takeWithoutBreak.html index 6a55ed5a00c..035612e4e6e 100644 --- a/typedoc/functions/takeWithoutBreak.html +++ b/typedoc/functions/takeWithoutBreak.html @@ -1,2 +1,2 @@ takeWithoutBreak | SonarJS linter helper functions
    • Excludes the break statement from the list

      -

      Parameters

      • nodes: Statement[]

      Returns Statement[]

    +

    Parameters

    Returns Statement[]

    diff --git a/typedoc/functions/toEncodedMessage.html b/typedoc/functions/toEncodedMessage.html index e2a717bdfc4..d3b5e1ccd72 100644 --- a/typedoc/functions/toEncodedMessage.html +++ b/typedoc/functions/toEncodedMessage.html @@ -9,4 +9,4 @@
  • OptionalsecondaryLocations: IssueLocation[]

    the secondary locations

  • Optionalcost: number

    the optional cost to fix

  • Returns Rule.ReportDescriptor

    the encoded message with secondary locations

    -
    +
    diff --git a/typedoc/functions/toSecondaryLocation.html b/typedoc/functions/toSecondaryLocation.html index a0ced3ed1b0..10bf4093df6 100644 --- a/typedoc/functions/toSecondaryLocation.html +++ b/typedoc/functions/toSecondaryLocation.html @@ -1 +1 @@ -toSecondaryLocation | SonarJS linter helper functions
    +toSecondaryLocation | SonarJS linter helper functions
    diff --git a/typedoc/functions/toUnixPath.html b/typedoc/functions/toUnixPath.html index 941e2f80e6d..e46b437e417 100644 --- a/typedoc/functions/toUnixPath.html +++ b/typedoc/functions/toUnixPath.html @@ -1,4 +1,4 @@ toUnixPath | SonarJS linter helper functions
    • Converts a path to Unix format

      Parameters

      • path: string

        the path to convert

      Returns string

      the converted path

      -
    +
    diff --git a/typedoc/interfaces/EncodedMessage.html b/typedoc/interfaces/EncodedMessage.html index e9cd2fbf66b..a665e34d6d2 100644 --- a/typedoc/interfaces/EncodedMessage.html +++ b/typedoc/interfaces/EncodedMessage.html @@ -1,4 +1,4 @@ -EncodedMessage | SonarJS linter helper functions
    interface EncodedMessage {
        cost?: number;
        message: string;
        secondaryLocations: IssueLocation[];
    }

    Properties

    cost? +EncodedMessage | SonarJS linter helper functions
    interface EncodedMessage {
        cost?: number;
        message: string;
        secondaryLocations: IssueLocation[];
    }

    Properties

    cost?: number
    message: string
    secondaryLocations: IssueLocation[]
    +

    Properties

    cost?: number
    message: string
    secondaryLocations: IssueLocation[]
    diff --git a/typedoc/interfaces/File.html b/typedoc/interfaces/File.html index 665f8626ce9..997de14a9eb 100644 --- a/typedoc/interfaces/File.html +++ b/typedoc/interfaces/File.html @@ -1,3 +1,3 @@ -File | SonarJS linter helper functions
    interface File<T> {
        contents: T;
        filename: string;
    }

    Type Parameters

    • T

    Properties

    contents +File | SonarJS linter helper functions
    interface File<T> {
        contents: T;
        filename: string;
    }

    Type Parameters

    • T

    Properties

    Properties

    contents: T
    filename: string
    +

    Properties

    contents: T
    filename: string
    diff --git a/typedoc/interfaces/IssueLocation.html b/typedoc/interfaces/IssueLocation.html index bc4ee8e903e..00d5d7189f9 100644 --- a/typedoc/interfaces/IssueLocation.html +++ b/typedoc/interfaces/IssueLocation.html @@ -1,6 +1,6 @@ -IssueLocation | SonarJS linter helper functions
    interface IssueLocation {
        column: number;
        endColumn: number;
        endLine: number;
        line: number;
        message?: string;
    }

    Properties

    column +IssueLocation | SonarJS linter helper functions
    interface IssueLocation {
        column: number;
        endColumn: number;
        endLine: number;
        line: number;
        message?: string;
    }

    Properties

    column: number
    endColumn: number
    endLine: number
    line: number
    message?: string
    +

    Properties

    column: number
    endColumn: number
    endLine: number
    line: number
    message?: string
    diff --git a/typedoc/interfaces/Mocha.TestCase.html b/typedoc/interfaces/Mocha.TestCase.html index 05d9d16cf34..58a10c7428d 100644 --- a/typedoc/interfaces/Mocha.TestCase.html +++ b/typedoc/interfaces/Mocha.TestCase.html @@ -1,3 +1,3 @@ -TestCase | SonarJS linter helper functions
    interface TestCase {
        callback: Function;
        node: Node;
    }

    Properties

    callback +TestCase | SonarJS linter helper functions
    interface TestCase {
        callback: Function;
        node: Node;
    }

    Properties

    Properties

    callback: Function
    node: Node
    +

    Properties

    callback: Function
    node: Node
    diff --git a/typedoc/interfaces/PolicyCheckerOptions.html b/typedoc/interfaces/PolicyCheckerOptions.html index e5b054ead24..4cff7ce9422 100644 --- a/typedoc/interfaces/PolicyCheckerOptions.html +++ b/typedoc/interfaces/PolicyCheckerOptions.html @@ -1,6 +1,6 @@ -PolicyCheckerOptions | SonarJS linter helper functions
    interface PolicyCheckerOptions {
        actions: {
            anyValues?: string[];
            property: string;
        };
        conditions: {
            property: string;
        };
        effect: {
            allowValue: string;
            property: string;
            type: "string" | "FullyQualifiedName";
        };
        principals: {
            anyValues?: string[];
            property: string;
            type: "FullyQualifiedName" | "json";
        };
        resources: {
            property: string;
        };
    }

    Properties

    actions +PolicyCheckerOptions | SonarJS linter helper functions
    interface PolicyCheckerOptions {
        actions: {
            anyValues?: string[];
            property: string;
        };
        conditions: {
            property: string;
        };
        effect: {
            allowValue: string;
            property: string;
            type: "string" | "FullyQualifiedName";
        };
        principals: {
            anyValues?: string[];
            property: string;
            type: "FullyQualifiedName" | "json";
        };
        resources: {
            property: string;
        };
    }

    Properties

    actions: {
        anyValues?: string[];
        property: string;
    }
    conditions: {
        property: string;
    }
    effect: {
        allowValue: string;
        property: string;
        type: "string" | "FullyQualifiedName";
    }
    principals: {
        anyValues?: string[];
        property: string;
        type: "FullyQualifiedName" | "json";
    }
    resources: {
        property: string;
    }
    +

    Properties

    actions: {
        anyValues?: string[];
        property: string;
    }
    conditions: {
        property: string;
    }
    effect: {
        allowValue: string;
        property: string;
        type: "string" | "FullyQualifiedName";
    }
    principals: {
        anyValues?: string[];
        property: string;
        type: "FullyQualifiedName" | "json";
    }
    resources: {
        property: string;
    }
    diff --git a/typedoc/interfaces/ReferenceLike.html b/typedoc/interfaces/ReferenceLike.html index df94c6eebad..e6e52b9b380 100644 --- a/typedoc/interfaces/ReferenceLike.html +++ b/typedoc/interfaces/ReferenceLike.html @@ -1,4 +1,4 @@ -ReferenceLike | SonarJS linter helper functions
    interface ReferenceLike {
        from: Scope;
        identifier: JSXIdentifier | Identifier;
        init: boolean;
        resolved: null | Variable;
        writeExpr: null | Node;
        isRead(): boolean;
        isReadOnly(): boolean;
        isReadWrite(): boolean;
        isWrite(): boolean;
        isWriteOnly(): boolean;
    }

    Properties

    from +ReferenceLike | SonarJS linter helper functions
    interface ReferenceLike {
        from: Scope;
        identifier: JSXIdentifier | Identifier;
        init: boolean;
        resolved: null | Variable;
        writeExpr: null | Node;
        isRead(): boolean;
        isReadOnly(): boolean;
        isReadWrite(): boolean;
        isWrite(): boolean;
        isWriteOnly(): boolean;
    }

    Properties

    from: Scope
    identifier: JSXIdentifier | Identifier
    init: boolean
    resolved: null | Variable
    writeExpr: null | Node

    Methods

    • Returns boolean

    • Returns boolean

    • Returns boolean

    • Returns boolean

    • Returns boolean

    +

    Properties

    from: Scope
    identifier: JSXIdentifier | Identifier
    init: boolean
    resolved: null | Variable
    writeExpr: null | Node

    Methods

    • Returns boolean

    • Returns boolean

    • Returns boolean

    • Returns boolean

    • Returns boolean

    diff --git a/typedoc/modules/Chai.html b/typedoc/modules/Chai.html index b7e0d819421..32c593ac2ab 100644 --- a/typedoc/modules/Chai.html +++ b/typedoc/modules/Chai.html @@ -1,3 +1,3 @@ -Chai | SonarJS linter helper functions

    Index

    Functions

    isAssertion +Chai | SonarJS linter helper functions
    diff --git a/typedoc/modules/Express.html b/typedoc/modules/Express.html index cf1cfef628a..ab42772810d 100644 --- a/typedoc/modules/Express.html +++ b/typedoc/modules/Express.html @@ -1,5 +1,5 @@ Express | SonarJS linter helper functions

    This modules provides utilities for writing rules about Express.js.

    -

    Index

    Functions

    Index

    Functions

    attemptFindAppInjection attemptFindAppInstantiation isMiddlewareInstance isUsingMiddleware diff --git a/typedoc/modules/Mocha.html b/typedoc/modules/Mocha.html index b5c276e4f44..fc32f91a86a 100644 --- a/typedoc/modules/Mocha.html +++ b/typedoc/modules/Mocha.html @@ -1,4 +1,4 @@ -Mocha | SonarJS linter helper functions

    Index

    Interfaces

    TestCase +Mocha | SonarJS linter helper functions

    Index

    Interfaces

    Functions

    extractTestCase isDescribeCase isTestCase diff --git a/typedoc/modules/Sinon.html b/typedoc/modules/Sinon.html index 103f06a6e88..33880e7f404 100644 --- a/typedoc/modules/Sinon.html +++ b/typedoc/modules/Sinon.html @@ -1,3 +1,3 @@ -Sinon | SonarJS linter helper functions

    Index

    Functions

    isAssertion +Sinon | SonarJS linter helper functions
    diff --git a/typedoc/modules/Vitest.html b/typedoc/modules/Vitest.html index dc734209108..c803c58710d 100644 --- a/typedoc/modules/Vitest.html +++ b/typedoc/modules/Vitest.html @@ -1,3 +1,3 @@ -Vitest | SonarJS linter helper functions

    Index

    Functions

    isAssertion +Vitest | SonarJS linter helper functions
    diff --git a/typedoc/types/AwsCdkCallback.html b/typedoc/types/AwsCdkCallback.html index 43a230e2694..457d53184ef 100644 --- a/typedoc/types/AwsCdkCallback.html +++ b/typedoc/types/AwsCdkCallback.html @@ -1 +1 @@ -AwsCdkCallback | SonarJS linter helper functions
    AwsCdkCallback: {
        functionName?: string;
        methods?: string[];
        callExpression(expr: CallExpression, ctx: RuleContext, fqn?: string): void;
        newExpression?(expr: NewExpression, ctx: RuleContext): void;
    }
    +AwsCdkCallback | SonarJS linter helper functions
    AwsCdkCallback: {
        functionName?: string;
        methods?: string[];
        callExpression(expr: CallExpression, ctx: RuleContext, fqn?: string): void;
        newExpression?(expr: NewExpression, ctx: RuleContext): void;
    }
    diff --git a/typedoc/types/AwsCdkConsumer.html b/typedoc/types/AwsCdkConsumer.html index 393e423ff4b..d2a79e7065e 100644 --- a/typedoc/types/AwsCdkConsumer.html +++ b/typedoc/types/AwsCdkConsumer.html @@ -1 +1 @@ -AwsCdkConsumer | SonarJS linter helper functions
    AwsCdkConsumer: ((expr: estree.NewExpression, ctx: Rule.RuleContext) => void) | AwsCdkCallback
    +AwsCdkConsumer | SonarJS linter helper functions
    AwsCdkConsumer: ((expr: estree.NewExpression, ctx: Rule.RuleContext) => void) | AwsCdkCallback
    diff --git a/typedoc/types/AwsCdkConsumerMap.html b/typedoc/types/AwsCdkConsumerMap.html index 000dea0c060..db398f4be4a 100644 --- a/typedoc/types/AwsCdkConsumerMap.html +++ b/typedoc/types/AwsCdkConsumerMap.html @@ -1 +1 @@ -AwsCdkConsumerMap | SonarJS linter helper functions
    AwsCdkConsumerMap: {
        [key: FullyQualifiedName]: AwsCdkConsumer;
    }
    +AwsCdkConsumerMap | SonarJS linter helper functions
    AwsCdkConsumerMap: {
        [key: FullyQualifiedName]: AwsCdkConsumer;
    }
    diff --git a/typedoc/types/ContextOverrider.html b/typedoc/types/ContextOverrider.html index 45bbccb0fe5..4c0934b7ff4 100644 --- a/typedoc/types/ContextOverrider.html +++ b/typedoc/types/ContextOverrider.html @@ -1 +1 @@ -ContextOverrider | SonarJS linter helper functions
    ContextOverrider: ((context: Rule.RuleContext, onReport: ReportOverrider) => Rule.RuleContext)
    +ContextOverrider | SonarJS linter helper functions
    ContextOverrider: ((context: Rule.RuleContext, onReport: ReportOverrider) => Rule.RuleContext)
    diff --git a/typedoc/types/FullyQualifiedName.html b/typedoc/types/FullyQualifiedName.html index 7c4f0cc4927..73347b62b17 100644 --- a/typedoc/types/FullyQualifiedName.html +++ b/typedoc/types/FullyQualifiedName.html @@ -1,2 +1,2 @@ FullyQualifiedName | SonarJS linter helper functions
    FullyQualifiedName: string

    A symbol fully qualified name, e.g. aws-cdk-lib.aws_sns.Topic.

    -
    +
    diff --git a/typedoc/types/FunctionNodeType.html b/typedoc/types/FunctionNodeType.html index 175bae02f6d..cf63dfedbd6 100644 --- a/typedoc/types/FunctionNodeType.html +++ b/typedoc/types/FunctionNodeType.html @@ -1 +1 @@ -FunctionNodeType | SonarJS linter helper functions
    FunctionNodeType: estree.FunctionDeclaration | estree.FunctionExpression | estree.ArrowFunctionExpression
    +FunctionNodeType | SonarJS linter helper functions
    FunctionNodeType: estree.FunctionDeclaration | estree.FunctionExpression | estree.ArrowFunctionExpression
    diff --git a/typedoc/types/LocationHolder.html b/typedoc/types/LocationHolder.html index ad2a15abec7..e3df4b516a4 100644 --- a/typedoc/types/LocationHolder.html +++ b/typedoc/types/LocationHolder.html @@ -1 +1 @@ -LocationHolder | SonarJS linter helper functions
    LocationHolder:
        | AST.Token
        | TSESTree.Node
        | estree.Node
        | {
            loc: AST.SourceLocation;
        }
    +LocationHolder | SonarJS linter helper functions
    LocationHolder:
        | AST.Token
        | TSESTree.Node
        | estree.Node
        | {
            loc: AST.SourceLocation;
        }
    diff --git a/typedoc/types/LoopLike.html b/typedoc/types/LoopLike.html index 4cad3429064..e1e3eab6457 100644 --- a/typedoc/types/LoopLike.html +++ b/typedoc/types/LoopLike.html @@ -1 +1 @@ -LoopLike | SonarJS linter helper functions
    LoopLike:
        | estree.WhileStatement
        | estree.DoWhileStatement
        | estree.ForStatement
        | estree.ForOfStatement
        | estree.ForInStatement
    +LoopLike | SonarJS linter helper functions
    LoopLike:
        | estree.WhileStatement
        | estree.DoWhileStatement
        | estree.ForStatement
        | estree.ForOfStatement
        | estree.ForInStatement
    diff --git a/typedoc/types/Node.html b/typedoc/types/Node.html index e256e285e5e..d17a1598d32 100644 --- a/typedoc/types/Node.html +++ b/typedoc/types/Node.html @@ -1 +1 @@ -Node | SonarJS linter helper functions
    Node: estree.Node | TSESTree.Node
    +Node | SonarJS linter helper functions
    Node: estree.Node | TSESTree.Node
    diff --git a/typedoc/types/ReportOverrider.html b/typedoc/types/ReportOverrider.html index 9bfbf2dc08e..4aa265fb08c 100644 --- a/typedoc/types/ReportOverrider.html +++ b/typedoc/types/ReportOverrider.html @@ -1 +1 @@ -ReportOverrider | SonarJS linter helper functions
    ReportOverrider: ((context: Rule.RuleContext, reportDescriptor: Rule.ReportDescriptor) => void)
    +ReportOverrider | SonarJS linter helper functions
    ReportOverrider: ((context: Rule.RuleContext, reportDescriptor: Rule.ReportDescriptor) => void)
    diff --git a/typedoc/types/RequiredParserServices.html b/typedoc/types/RequiredParserServices.html index e2128b6bfd3..6a2110b5828 100644 --- a/typedoc/types/RequiredParserServices.html +++ b/typedoc/types/RequiredParserServices.html @@ -1 +1 @@ -RequiredParserServices | SonarJS linter helper functions
    RequiredParserServices: ParserServicesWithTypeInformation
    +RequiredParserServices | SonarJS linter helper functions
    RequiredParserServices: ParserServicesWithTypeInformation
    diff --git a/typedoc/types/RuleContext.html b/typedoc/types/RuleContext.html index 6261740baff..9d830e624c1 100644 --- a/typedoc/types/RuleContext.html +++ b/typedoc/types/RuleContext.html @@ -1 +1 @@ -RuleContext | SonarJS linter helper functions
    RuleContext: TSESLint.RuleContext<string, string[]>
    +RuleContext | SonarJS linter helper functions
    RuleContext: TSESLint.RuleContext<string, string[]>
    diff --git a/typedoc/types/StringLiteral.html b/typedoc/types/StringLiteral.html index 6c2ec86b8f1..8f0db28ce2e 100644 --- a/typedoc/types/StringLiteral.html +++ b/typedoc/types/StringLiteral.html @@ -1 +1 @@ -StringLiteral | SonarJS linter helper functions
    StringLiteral: estree.Literal & {
        value: string;
    }
    +StringLiteral | SonarJS linter helper functions
    StringLiteral: estree.Literal & {
        value: string;
    }
    diff --git a/typedoc/types/Values.html b/typedoc/types/Values.html index 2bc1863ab8a..e4293345d91 100644 --- a/typedoc/types/Values.html +++ b/typedoc/types/Values.html @@ -1 +1 @@ -Values | SonarJS linter helper functions
    Values: AssignedValues | UnknownValue
    +Values | SonarJS linter helper functions
    Values: AssignedValues | UnknownValue
    diff --git a/typedoc/variables/FUNCTION_NODES.html b/typedoc/variables/FUNCTION_NODES.html index 619e338569c..8e4c908ca9f 100644 --- a/typedoc/variables/FUNCTION_NODES.html +++ b/typedoc/variables/FUNCTION_NODES.html @@ -1 +1 @@ -FUNCTION_NODES | SonarJS linter helper functions
    FUNCTION_NODES: string[] = ...
    +FUNCTION_NODES | SonarJS linter helper functions
    FUNCTION_NODES: string[] = ...
    diff --git a/typedoc/variables/PACKAGE_JSON.html b/typedoc/variables/PACKAGE_JSON.html index f26638153e4..710e3312d9d 100644 --- a/typedoc/variables/PACKAGE_JSON.html +++ b/typedoc/variables/PACKAGE_JSON.html @@ -1 +1 @@ -PACKAGE_JSON | SonarJS linter helper functions
    PACKAGE_JSON: "package.json" = 'package.json'
    +PACKAGE_JSON | SonarJS linter helper functions
    PACKAGE_JSON: "package.json" = 'package.json'
    diff --git a/typedoc/variables/SONAR_RUNTIME.html b/typedoc/variables/SONAR_RUNTIME.html index 14f3424b11a..efc69e31699 100644 --- a/typedoc/variables/SONAR_RUNTIME.html +++ b/typedoc/variables/SONAR_RUNTIME.html @@ -1 +1 @@ -SONAR_RUNTIME | SonarJS linter helper functions
    SONAR_RUNTIME: "sonar-runtime" = 'sonar-runtime'
    +SONAR_RUNTIME | SonarJS linter helper functions
    SONAR_RUNTIME: "sonar-runtime" = 'sonar-runtime'
    diff --git a/typedoc/variables/TYPED_ARRAY_TYPES.html b/typedoc/variables/TYPED_ARRAY_TYPES.html index d15d5dbd03a..cb3f190f85b 100644 --- a/typedoc/variables/TYPED_ARRAY_TYPES.html +++ b/typedoc/variables/TYPED_ARRAY_TYPES.html @@ -1,3 +1,3 @@ TYPED_ARRAY_TYPES | SonarJS linter helper functions
    TYPED_ARRAY_TYPES: string[] = ...
    +
    diff --git a/typedoc/variables/UTILITY_TYPES.html b/typedoc/variables/UTILITY_TYPES.html index 1fb55910a4d..9bfdf6c0414 100644 --- a/typedoc/variables/UTILITY_TYPES.html +++ b/typedoc/variables/UTILITY_TYPES.html @@ -1,3 +1,3 @@ UTILITY_TYPES | SonarJS linter helper functions
    UTILITY_TYPES: Set<string> = ...

    TypeScript provides a set of utility types to facilitate type transformations.

    +
    diff --git a/typedoc/variables/collectionConstructor.html b/typedoc/variables/collectionConstructor.html index b8dbbe84d32..81c4b8dca2b 100644 --- a/typedoc/variables/collectionConstructor.html +++ b/typedoc/variables/collectionConstructor.html @@ -1 +1 @@ -collectionConstructor | SonarJS linter helper functions

    Variable collectionConstructorConst

    collectionConstructor: string[] = ...
    +collectionConstructor | SonarJS linter helper functions

    Variable collectionConstructorConst

    collectionConstructor: string[] = ...
    diff --git a/typedoc/variables/copyingSortLike.html b/typedoc/variables/copyingSortLike.html index d5a098ef0e0..0bc1b6d1d51 100644 --- a/typedoc/variables/copyingSortLike.html +++ b/typedoc/variables/copyingSortLike.html @@ -1 +1 @@ -copyingSortLike | SonarJS linter helper functions
    copyingSortLike: string[] = ...
    +copyingSortLike | SonarJS linter helper functions
    copyingSortLike: string[] = ...
    diff --git a/typedoc/variables/detectReactRule.html b/typedoc/variables/detectReactRule.html index 8e07cc5bddd..f544b6c8a46 100644 --- a/typedoc/variables/detectReactRule.html +++ b/typedoc/variables/detectReactRule.html @@ -1 +1 @@ -detectReactRule | SonarJS linter helper functions
    detectReactRule: Rule.RuleModule = ...
    +detectReactRule | SonarJS linter helper functions
    detectReactRule: Rule.RuleModule = ...
    diff --git a/typedoc/variables/functionLike.html b/typedoc/variables/functionLike.html index 11a18a111a3..0b9eba7e705 100644 --- a/typedoc/variables/functionLike.html +++ b/typedoc/variables/functionLike.html @@ -1 +1 @@ -functionLike | SonarJS linter helper functions
    functionLike: Set<string> = ...
    +functionLike | SonarJS linter helper functions
    functionLike: Set<string> = ...
    diff --git a/typedoc/variables/globalsByLibraries.html b/typedoc/variables/globalsByLibraries.html index e0acba76ab1..a3ca1c19f81 100644 --- a/typedoc/variables/globalsByLibraries.html +++ b/typedoc/variables/globalsByLibraries.html @@ -1 +1 @@ -globalsByLibraries | SonarJS linter helper functions
    globalsByLibraries: {
        amd: string[];
        applescript: string[];
        atomtest: string[];
        browser: string[];
        builtin: string[];
        commonjs: string[];
        couch: string[];
        embertest: string[];
        flow: string[];
        greasemonkey: string[];
        jasmine: string[];
        jest: string[];
        jquery: string[];
        meteor: string[];
        mocha: string[];
        mongo: string[];
        nashorn: string[];
        node: string[];
        phantomjs: string[];
        prototypejs: string[];
        protractor: string[];
        qunit: string[];
        rhino: string[];
        serviceworker: string[];
        shared-node-browser: string[];
        shelljs: string[];
        webextensions: string[];
        worker: string[];
        wsh: string[];
        yui: string[];
    } = ...
    +globalsByLibraries | SonarJS linter helper functions
    globalsByLibraries: {
        amd: string[];
        applescript: string[];
        atomtest: string[];
        browser: string[];
        builtin: string[];
        commonjs: string[];
        couch: string[];
        embertest: string[];
        flow: string[];
        greasemonkey: string[];
        jasmine: string[];
        jest: string[];
        jquery: string[];
        meteor: string[];
        mocha: string[];
        mongo: string[];
        nashorn: string[];
        node: string[];
        phantomjs: string[];
        prototypejs: string[];
        protractor: string[];
        qunit: string[];
        rhino: string[];
        serviceworker: string[];
        shared-node-browser: string[];
        shelljs: string[];
        webextensions: string[];
        worker: string[];
        wsh: string[];
        yui: string[];
    } = ...
    diff --git a/typedoc/variables/sortLike.html b/typedoc/variables/sortLike.html index 8ea3e946594..e7d8415e3b6 100644 --- a/typedoc/variables/sortLike.html +++ b/typedoc/variables/sortLike.html @@ -1 +1 @@ -sortLike | SonarJS linter helper functions
    sortLike: string[] = ...
    +sortLike | SonarJS linter helper functions
    sortLike: string[] = ...
    diff --git a/typedoc/variables/unknownValue.html b/typedoc/variables/unknownValue.html index 4c846230076..823d05a82a5 100644 --- a/typedoc/variables/unknownValue.html +++ b/typedoc/variables/unknownValue.html @@ -1 +1 @@ -unknownValue | SonarJS linter helper functions
    unknownValue: UnknownValue = ...
    +unknownValue | SonarJS linter helper functions
    unknownValue: UnknownValue = ...
    diff --git a/typedoc/variables/writingMethods.html b/typedoc/variables/writingMethods.html index 7604de98516..66945e3443c 100644 --- a/typedoc/variables/writingMethods.html +++ b/typedoc/variables/writingMethods.html @@ -1 +1 @@ -writingMethods | SonarJS linter helper functions
    writingMethods: string[] = ...
    +writingMethods | SonarJS linter helper functions
    writingMethods: string[] = ...