diff --git a/typedoc/classes/LiveVariables.html b/typedoc/classes/LiveVariables.html index 270a78b53dc..e6f947d6ba1 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 64523cc48e6..f853734da24 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 015c3ee4d31..e4a1b745109 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 27b44226378..f2284a8b73a 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 472db9ab9d7..3f65cb54b11 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 e072fd66d46..b0cfd90d4c4 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 e223d87af30..e3e4e15be2e 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 0ed50d4c688..e14fdc37eec 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 3107d66ebd7..f08763fa946 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 4d812830a0a..f1d537001ec 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 fe62c956a62..56b5fbdad24 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 e1d92ad7932..40d99c9fdff 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 a1c413552ed..bd5da4c5eb2 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 143a0c93e16..a59c5f0d6a5 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 81c5f456305..acbce0826ac 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 b4d2a4e1b26..517716d79e8 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 726ad2ad9c1..1207316ff75 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 3ed49261cd0..333e6c0252c 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 c1ee0ede663..901e865837a 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 0d2a13f7698..0d178c5380e 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 6252c4349a0..8572a0cc957 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 14fae250fe9..42eedc892e8 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 3d439fbbe49..ef86d96a388 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 d7226d5f818..8d11370972d 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 3e63bc0b62b..a8580cccc14 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/collectIfBranches.html b/typedoc/functions/collectIfBranches.html index 8e7a096adac..f8e2f899617 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 7981c4e0027..17936d16f37 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 c26f231c529..0f7d4235af4 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 689b8632545..5a2bcc92d6e 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 43568b05fe6..77356973530 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 ad714acaae5..4a3fa00d7f6 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 31c10f6ed01..8f2a2fb15e1 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 7f38c6a2945..8e962ae40a6 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 fc690ff3b36..350396ed37b 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 dfea1959d6e..27629111c41 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 02325b44324..02c86145e15 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 bb1d3036937..1f2b93b3a11 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 7e36828a6f8..e106ded2dcc 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 bb83774842c..163f172c6ae 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 6ddd7165840..f6338cb1ebb 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 173437c9a83..bdba8d07cf8 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 73d0d7351a0..d1445c9de78 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 b0be947b5c4..9d73b789659 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 29486b8f878..75b675cd3f9 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 44d6bd0d635..4957b5c0a31 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 0b20c481bfc..a8b6dc608dc 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 0de26e7ffde..07a8d75487c 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 3bdd66ae96a..61f9859b084 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 2add43b8367..f48442b0b09 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 fea59fa43b9..b7b86bbbdcd 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 3c6302eec79..bf2a80555ad 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 15569cf84e2..4c7c3f054ca 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 08a82ec2636..d36ecb4df78 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 4f10d277899..6bb7c790add 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 ad1be2a266c..c034c0301a4 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 66601ac1e4f..ed9da8cd2c0 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 93aa57a3786..624f6a2df2d 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 07be20e4081..308caa0a98e 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 bfa9003d456..2b1da6628a0 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 98b153fdd77..6093f4bd674 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 b9b2c46740d..ff636a93d5a 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 351a9c31da1..6e3082ec415 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 7076194bfd1..09ee1fc0e8c 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 c78511b5b56..4920dbc9be0 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 40af50a548d..ecc4d8722d2 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 38152941ca2..fdc02850798 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 a8daa56b053..692f1521c6e 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 f9b2f788447..757b903ba3e 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 727e96e322b..f95912961c0 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 45f345dde36..c748b1e1f80 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 ec7a16aae96..5858e593cb4 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 960c978687b..7b7942fe1ff 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 7d66cac3595..c95544648b4 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 0eab6baa946..c0d111493ae 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 56cfbd02f35..dc8288c0751 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 1bf752a734a..0f287440b20 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 625aab842a6..d0dbce64092 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 99cc78429ff..52e1d3c481b 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 3c07a261f07..c0b6342f70b 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 e995ebe7d07..d5bb3397409 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 c96c4b83619..a10416227fa 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 80c42383b7b..0d36e423fa6 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 af147f518af..a782da76af9 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 d9328133bff..44f5d0afc8e 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 1a77156c20e..859aa36d78d 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 16f412c86b6..23e820645bd 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 d001beca365..df1994bc055 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 336ee20a8b1..39723f93a60 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 f5fb4edbfbc..33b027abe80 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 4d242c13cd3..1598a0fe8b8 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 10eb144582b..cbe26b214bb 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 1df31e1db29..bf06c317180 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 ea2c04696aa..61065e62eea 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 ee90a41e176..45cc532ecfc 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 8b9b7e8dd9e..a0081f44921 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 c9364acf8a6..efcec35be9e 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 30ecbe3ec20..92178ef62ab 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 196f2af5d98..a7abbadfb56 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 657e92b8ba3..70f73c2d823 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 fd499c361a5..1c0b0df5b41 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 8a6dabfbb54..0214772b812 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 2e19ad8c535..cfdcca0cb6a 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 e052a10c259..db3ce677d0f 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 1a2af39a277..3d82b2d4ba1 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 a55bdf0fa47..f1edb180683 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 616b6db0529..99d7cbb3778 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 ffbc24ad292..87ebce5b5c9 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 338f30c1082..9c7935b3d7b 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 33bf249b40b..1de2ed72d16 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 cbb86558355..9e097c61923 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 be7fe44fcbb..99448783e8f 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 52195edbaeb..358fbc2f605 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 72f20fb5269..0850bc7da3c 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 2e4ab3c7b7b..ac386cc9b25 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 c9cd57b907d..68fdf4071bc 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 c330dae55f0..4320eaa4af3 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 0fccad724fb..b52934bf56d 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 42557f5d09e..05d5939ea0f 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 f889a1a076f..022530d5dab 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 33f1bb653e3..1e48cebaf12 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 8d5a4839e6e..46b75197693 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 c716f0cf45e..de72773dbc4 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 f6913c00f0e..92db271fec2 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 4985591c41d..b060fc22ef2 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 f0d6145e33b..fe4f08caacb 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 9e0b0f1f608..345a810b4ca 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 195db2918ab..36c952abfb4 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 cb605ad57b9..d58198a6deb 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 934954f1ec8..5319128f0f3 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 eb8fca09a16..2a085e086ae 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 b6be2c56849..f9d1cc97bcc 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 2bacd10e234..5d5882037d4 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 ff14776e173..b33754b00f2 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 f72e0b71180..17f19171fb6 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 5cac092322d..7bf9538ec77 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 05ec7927d5c..b9662552126 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 a35191419a8..dad69d85ad9 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 251569420e1..c71cb8f5bd1 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 ab8cdcd83d2..897f1d2f2d5 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 67150d87071..f944c74b452 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 c59cdaeba51..e787daac585 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 7be971725e2..bbdad523250 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 b1596398df8..e1d64d92640 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 06cde559996..6a695fe807a 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 4fef431c169..cc1c2178675 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 326516458f9..fde46936df2 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 75cb6a5121b..95be205f549 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 dba438990d9..fcced0f1702 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 486656c88a4..5ac6367f741 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 ad3affed361..5ab14dcf2af 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 1eb0614d4b2..90f19029b57 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 55596effec3..eb5a7d8a53e 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 49b36b870e8..56a0021db5b 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 fcb57bff60c..17af71a5ae3 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 2f0e6a70655..6a9f9e798ab 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 11057a13f9f..b035771f27d 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 33b3a394a05..0654fa4585b 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 a2ae735372a..325c48726b7 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 02b1b1a580a..fa11c87cc37 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 abf511f076b..585ca094b8e 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 f6fd19dfc89..3ada6fdda57 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 443d78c5d5e..b76979dfe6d 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 34f9fbda8f6..6910ce12ba0 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 9f499685613..cbb9c86fdda 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 5eabe15ce3f..025d9572f31 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 a0553d34fcd..432a5390653 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 221a84900b1..a6214db249a 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 0bdc9dde818..4f6be393979 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 1656efa81a2..e7b16d8e774 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 eac556b16f9..d5dcf86b942 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 555f82a19b7..9917f66f808 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 70263d046cb..fc86db05019 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 599631d943b..10878c3a57a 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 6149b743d23..4d6caa7e444 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 5365dd47c59..3d280597e51 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 9d12058a97d..367d8b4828f 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 bad155304dd..74c924f9226 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 e7d4ed34b30..4a45d31e29f 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 1bfac07cae8..1ddd212da7e 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 3696dc971b9..ae5a46f393c 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 6bcdfc72358..235e4d49acd 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 1310f95c067..10a585a03c9 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 af8e4290675..f8007c65987 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 4bee834f13e..5006d9706db 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 ca8b0f66dfb..e21b5552849 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 cb32f3edc0f..c806c3837bc 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 87f6046afaf..e2757a1abbe 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 20ed16ed331..2676db21340 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 7b2b1e26a56..62fe14a17c1 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 7d54ce14eb2..1fcd81e1ce8 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 7a13c32fd67..9cfcbec8cb1 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 8219fb620a1..e1726b3f888 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 a4300eb5f2c..a52d4ca02de 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 9a1c495b4e0..a561fd998a0 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 df216d7e4fa..acaddadbc9d 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 f6f9c06756f..b9cb02d9a65 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 cd55848a29a..e865c30a93e 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 eaa57dc1abf..bd2c423f2da 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 6db696f969e..3d14e135e44 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 5643f7f722b..128feea4908 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 2417b78598b..f692ee5d3cf 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 b27ab9c16d4..14ba847b67a 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 a44ff3e6469..0e831af394f 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 afb3ef7229f..4c06e74336b 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[] = ...