JCMais/node-libcurl

View on GitHub
tools/brute-force-leak-test.ts

Summary

Maintainability
C
1 day
Test Coverage

Function createAndPerformAndCloseCurlHandlesMultiTest has a Cognitive Complexity of 25 (exceeds 5 allowed). Consider refactoring.
Open

function createAndPerformAndCloseCurlHandlesMultiTest() {
  let i = AMOUNT_ITERATIONS_PER_RUN
  let toClose: Curl[] = []
  let toPerform: Curl[] = []
  let currentlyPerforming: Curl[] = []
Severity: Minor
Found in tools/brute-force-leak-test.ts - About 3 hrs to fix

Cognitive Complexity

Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

A method's cognitive complexity is based on a few simple rules:

  • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
  • Code is considered more complex for each "break in the linear flow of the code"
  • Code is considered more complex when "flow breaking structures are nested"

Further reading

Function createAndPerformAndCloseCurlHandlesMultiTest has 89 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function createAndPerformAndCloseCurlHandlesMultiTest() {
  let i = AMOUNT_ITERATIONS_PER_RUN
  let toClose: Curl[] = []
  let toPerform: Curl[] = []
  let currentlyPerforming: Curl[] = []
Severity: Major
Found in tools/brute-force-leak-test.ts - About 3 hrs to fix

    Function run has 63 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      return function run() {
        return new Promise<void>((resolve) => {
          while (i--) {
            console.log('creating handler')
    
    
    Severity: Major
    Found in tools/brute-force-leak-test.ts - About 2 hrs to fix

      Function createAndCloseCurlHandlesTest has 33 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      function createAndCloseCurlHandlesTest() {
        let i = 0
        const shouldClose = iteration++ % 2
        const postData = [
          {
      Severity: Minor
      Found in tools/brute-force-leak-test.ts - About 1 hr to fix

        Missing semicolon
        Open

          let i = AMOUNT_ITERATIONS_PER_RUN
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

                handle.setOpt('URL', 'http://127.0.0.1:8080/index.html')
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

                  await createAndPerformAndCloseCurlHandlesMultiTest()()
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

          const shouldClose = iteration++ % 2
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

          ]
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

          }
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

                const handle = new Curl()
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

                    toPerform = []
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

                    console.log('toPerform.length', toPerform.length)
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

                  toClose.push(handle)
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

                iteration = 0
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

                handle.setOpt(Curl.option.XFERINFOFUNCTION, () => 0)
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

                    console.log('Calling garbage collector.')
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

                  doPerformIfNeeded()
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        non-arrow functions are forbidden
        Open

            async function (answer) {
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: only-arrow-functions

        Disallows traditional (non-arrow) function expressions.

        Note that non-arrow functions are allowed if 'this' appears somewhere in its body (as such functions cannot be converted to arrow functions).

        Rationale

        Traditional functions don't bind lexical scope, which can lead to unexpected behavior when accessing 'this'.

        Config

        Two arguments may be optionally provided:

        • "allow-declarations" allows standalone function declarations.
        • "allow-named-functions" allows the expression function foo() {} but not function() {}.
        Examples
        "only-arrow-functions": true
        "only-arrow-functions": true,allow-declarations,allow-named-functions
        Schema
        {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "allow-declarations",
              "allow-named-functions"
            ]
          },
          "minLength": 0,
          "maxLength": 1
        }

        For more information see this page.

        Missing semicolon
        Open

              console.log('Closing handles.')
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

            })
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

                handle.setOpt('HTTPPOST', postData)
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

                })
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

                )
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

            const instance = instances.shift()
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

                    toClose = []
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

                  break
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

                  await clearInstances()()
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

        })
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

                handle.setOpt('HTTPPOST', postData)
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

                        console.error('error while closing handle', error)
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

        const MAX_REQUESTS_AT_ONCE = 50
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

          }
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

                const instance = instances.splice(i, 1)
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

          let toClose: Curl[] = []
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

          }
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

                toPerform.push(handle)
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

                        handle.close()
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

                  console.log('error', error?.message || code)
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

                  doPerformIfNeeded()
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

                  instance.perform()
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

                  await createAndCloseCurlHandlesTest()()
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Shadowed name: 'handle'
        Open

                handle.on('end', (status, data, headers, handle) => {
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: no-shadowed-variable

        Disallows shadowing variable declarations.

        Rationale

        When a variable in a local scope and a variable in the containing scope have the same name, shadowing occurs. Shadowing makes it impossible to access the variable in the containing scope and obscures to what value an identifier actually refers. Compare the following snippets:

        const a = 'no shadow';
        function print() {
            console.log(a);
        }
        print(); // logs 'no shadow'.
        const a = 'no shadow';
        function print() {
            const a = 'shadow'; // TSLint will complain here.
            console.log(a);
        }
        print(); // logs 'shadow'.

        ESLint has an equivalent rule. For more background information, refer to this MDN closure doc.

        Config

        You can optionally pass an object to disable checking for certain kinds of declarations. Possible keys are "class", "enum", "function", "import", "interface", "namespace", "typeAlias" and "typeParameter". You can also pass "underscore" to ignore variable names that begin with _. Just set the value to false for the check you want to disable. All checks default to true, i.e. are enabled by default. Note that you cannot disable variables and parameters.

        The option "temporalDeadZone" defaults to true which shows errors when shadowing block scoped declarations in their temporal dead zone. When set to false parameters, classes, enums and variables declared with let or const are not considered shadowed if the shadowing occurs within their temporal dead zone.

        The following example shows how the "temporalDeadZone" option changes the linting result:

        function fn(value) {
            if (value) {
                const tmp = value; // no error on this line if "temporalDeadZone" is false
                return tmp;
            }
            let tmp = undefined;
            if (!value) {
                const tmp = value; // this line always contains an error
                return tmp;
            }
        }
        Examples
        "no-shadowed-variable": true
        "no-shadowed-variable": true,[object Object]
        Schema
        {
          "type": "object",
          "properties": {
            "class": {
              "type": "boolean"
            },
            "enum": {
              "type": "boolean"
            },
            "function": {
              "type": "boolean"
            },
            "import": {
              "type": "boolean"
            },
            "interface": {
              "type": "boolean"
            },
            "namespace": {
              "type": "boolean"
            },
            "typeAlias": {
              "type": "boolean"
            },
            "typeParameter": {
              "type": "boolean"
            },
            "temporalDeadZone": {
              "type": "boolean"
            },
            "underscore": {
              "type": "boolean"
            }
          }
        }

        For more information see this page.

        Missing semicolon
        Open

                    instances = []
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

                  doCleanupIfLastOne()
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

              process.nextTick(loop)
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Shadowed name: 'handle'
        Open

                handle.on('error', (error, code, handle) => {
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: no-shadowed-variable

        Disallows shadowing variable declarations.

        Rationale

        When a variable in a local scope and a variable in the containing scope have the same name, shadowing occurs. Shadowing makes it impossible to access the variable in the containing scope and obscures to what value an identifier actually refers. Compare the following snippets:

        const a = 'no shadow';
        function print() {
            console.log(a);
        }
        print(); // logs 'no shadow'.
        const a = 'no shadow';
        function print() {
            const a = 'shadow'; // TSLint will complain here.
            console.log(a);
        }
        print(); // logs 'shadow'.

        ESLint has an equivalent rule. For more background information, refer to this MDN closure doc.

        Config

        You can optionally pass an object to disable checking for certain kinds of declarations. Possible keys are "class", "enum", "function", "import", "interface", "namespace", "typeAlias" and "typeParameter". You can also pass "underscore" to ignore variable names that begin with _. Just set the value to false for the check you want to disable. All checks default to true, i.e. are enabled by default. Note that you cannot disable variables and parameters.

        The option "temporalDeadZone" defaults to true which shows errors when shadowing block scoped declarations in their temporal dead zone. When set to false parameters, classes, enums and variables declared with let or const are not considered shadowed if the shadowing occurs within their temporal dead zone.

        The following example shows how the "temporalDeadZone" option changes the linting result:

        function fn(value) {
            if (value) {
                const tmp = value; // no error on this line if "temporalDeadZone" is false
                return tmp;
            }
            let tmp = undefined;
            if (!value) {
                const tmp = value; // this line always contains an error
                return tmp;
            }
        }
        Examples
        "no-shadowed-variable": true
        "no-shadowed-variable": true,[object Object]
        Schema
        {
          "type": "object",
          "properties": {
            "class": {
              "type": "boolean"
            },
            "enum": {
              "type": "boolean"
            },
            "function": {
              "type": "boolean"
            },
            "import": {
              "type": "boolean"
            },
            "interface": {
              "type": "boolean"
            },
            "namespace": {
              "type": "boolean"
            },
            "typeAlias": {
              "type": "boolean"
            },
            "typeParameter": {
              "type": "boolean"
            },
            "temporalDeadZone": {
              "type": "boolean"
            },
            "underscore": {
              "type": "boolean"
            }
          }
        }

        For more information see this page.

        Missing semicolon
        Open

        import { Curl, CurlHsts, Easy } from '../lib'
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

        let iteration = 0
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

                  instances[i].close()
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

          ]
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

                  const total = instances.length
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

                    currentlyPerforming = []
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

                })
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

                instances[i] = handle
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

                  const totalFinished = toClose.length
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

                    global.gc()
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

                    resolve()
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

                  console.log('end', status)
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

                  currentlyPerforming.splice(currentlyPerforming.indexOf(handle), 1)
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

                  currentlyPerforming.splice(currentlyPerforming.indexOf(handle), 1)
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

                  doCleanupIfLastOne()
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

        loop()
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

                const handle = new Easy()
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

          let toPerform: Curl[] = []
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

                handle.setOpt('HSTS_CTRL', CurlHsts.Enable)
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

                instances[i] = handle
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

                    console.log('instances.length', instances.length)
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

        let instances: Easy[] | Curl[] = []
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

                handle.setOpt('HSTSREADFUNCTION', () => getHstsCache())
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

              doPerformIfNeeded()
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

                instance.close()
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

        const AMOUNT_ITERATIONS_PER_RUN = 1e4
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

          ]
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

                console.log('creating handler')
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

                    console.log('toClose.length', toClose.length)
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Shadowed name: 'handle'
        Open

                    for (const handle of toClose) {
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: no-shadowed-variable

        Disallows shadowing variable declarations.

        Rationale

        When a variable in a local scope and a variable in the containing scope have the same name, shadowing occurs. Shadowing makes it impossible to access the variable in the containing scope and obscures to what value an identifier actually refers. Compare the following snippets:

        const a = 'no shadow';
        function print() {
            console.log(a);
        }
        print(); // logs 'no shadow'.
        const a = 'no shadow';
        function print() {
            const a = 'shadow'; // TSLint will complain here.
            console.log(a);
        }
        print(); // logs 'shadow'.

        ESLint has an equivalent rule. For more background information, refer to this MDN closure doc.

        Config

        You can optionally pass an object to disable checking for certain kinds of declarations. Possible keys are "class", "enum", "function", "import", "interface", "namespace", "typeAlias" and "typeParameter". You can also pass "underscore" to ignore variable names that begin with _. Just set the value to false for the check you want to disable. All checks default to true, i.e. are enabled by default. Note that you cannot disable variables and parameters.

        The option "temporalDeadZone" defaults to true which shows errors when shadowing block scoped declarations in their temporal dead zone. When set to false parameters, classes, enums and variables declared with let or const are not considered shadowed if the shadowing occurs within their temporal dead zone.

        The following example shows how the "temporalDeadZone" option changes the linting result:

        function fn(value) {
            if (value) {
                const tmp = value; // no error on this line if "temporalDeadZone" is false
                return tmp;
            }
            let tmp = undefined;
            if (!value) {
                const tmp = value; // this line always contains an error
                return tmp;
            }
        }
        Examples
        "no-shadowed-variable": true
        "no-shadowed-variable": true,[object Object]
        Schema
        {
          "type": "object",
          "properties": {
            "class": {
              "type": "boolean"
            },
            "enum": {
              "type": "boolean"
            },
            "function": {
              "type": "boolean"
            },
            "import": {
              "type": "boolean"
            },
            "interface": {
              "type": "boolean"
            },
            "namespace": {
              "type": "boolean"
            },
            "typeAlias": {
              "type": "boolean"
            },
            "typeParameter": {
              "type": "boolean"
            },
            "temporalDeadZone": {
              "type": "boolean"
            },
            "underscore": {
              "type": "boolean"
            }
          }
        }

        For more information see this page.

        Missing semicolon
        Open

              console.log('Opening handles.')
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

              console.log('Calling garbage collector.')
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

          let currentlyPerforming: Curl[] = []
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

                    )
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

                  toClose.push(handle)
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

          )
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

        import readline from 'readline'
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

          let i = 0
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

              global.gc()
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        Missing semicolon
        Open

                  break
        Severity: Minor
        Found in tools/brute-force-leak-test.ts by tslint

        Rule: semicolon

        Enforces consistent semicolon usage at the end of every statement.

        Notes
        • Has Fix

        Config

        One of the following arguments must be provided:

        • "always" enforces semicolons at the end of every statement.
        • "never" disallows semicolons at the end of every statement except for when they are necessary.

        The following arguments may be optionally provided:

        • "ignore-interfaces" skips checking semicolons at the end of interface members.
        • "ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
        • "strict-bound-class-methods" disables any special handling of bound class methods and treats them as any other assignment. This option overrides "ignore-bound-class-methods".
        Examples
        "semicolon": true,always
        "semicolon": true,never
        "semicolon": true,always,ignore-interfaces
        "semicolon": true,always,ignore-bound-class-methods
        Schema
        {
          "type": "array",
          "items": [
            {
              "type": "string",
              "enum": [
                "always",
                "never"
              ]
            },
            {
              "type": "string",
              "enum": [
                "ignore-interfaces"
              ]
            }
          ],
          "additionalItems": false
        }

        For more information see this page.

        There are no issues that match your filters.

        Category
        Status