JCMais/node-libcurl

View on GitHub
lib/curly.ts

Summary

Maintainability
F
3 days
Test Coverage

Function create has 222 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const create = (defaultOptions: CurlyOptions = {}): CurlyFunction => {
  function curly<ResultData>(
    url: string,
    options: CurlyOptions = {},
  ): Promise<CurlyResult<ResultData>> {
Severity: Major
Found in lib/curly.ts - About 1 day to fix

    Function create has a Cognitive Complexity of 44 (exceeds 5 allowed). Consider refactoring.
    Open

    const create = (defaultOptions: CurlyOptions = {}): CurlyFunction => {
      function curly<ResultData>(
        url: string,
        options: CurlyOptions = {},
      ): Promise<CurlyResult<ResultData>> {
    Severity: Minor
    Found in lib/curly.ts - About 6 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 curly has 160 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      function curly<ResultData>(
        url: string,
        options: CurlyOptions = {},
      ): Promise<CurlyResult<ResultData>> {
        const curlHandle = new Curl()
    Severity: Major
    Found in lib/curly.ts - About 6 hrs to fix

      File curly.ts has 308 lines of code (exceeds 250 allowed). Consider refactoring.
      Open

      /**
       * Copyright (c) Jonathan Cardoso Machado. All Rights Reserved.
       *
       * This source code is licensed under the MIT license found in the
       * LICENSE file in the root directory of this source tree.
      Severity: Minor
      Found in lib/curly.ts - About 3 hrs to fix

        Missing semicolon
        Open

        import { Curl } from './Curl'
        Severity: Minor
        Found in lib/curly.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

              curlHandle.setOpt(optionName, finalOptions[key])
        Severity: Minor
        Found in lib/curly.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

                        foundParser = parser
        Severity: Minor
        Found in lib/curly.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

                  lowerCaseHeadersIfNecessary(headers)
        Severity: Minor
        Found in lib/curly.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 lib/curly.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

          curlyStreamResponse?: boolean
        Severity: Minor
        Found in lib/curly.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

          curlyStreamResponseHighWaterMark?: number
        Severity: Minor
        Found in lib/curly.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 entries = Object.entries(headersReq)
        Severity: Minor
        Found in lib/curly.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 foundParser = finalOptions.curlyResponseBodyParser
        Severity: Minor
        Found in lib/curly.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 lib/curly.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

          } as CurlyResponseBodyParsersProperty
        Severity: Minor
        Found in lib/curly.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

        export const curly = create()
        Severity: Minor
        Found in lib/curly.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

          curlyStreamUpload?: Readable | null
        Severity: Minor
        Found in lib/curly.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

        type HttpMethodCalls = Record<HttpMethod, CurlyHttpMethodCall>
        Severity: Minor
        Found in lib/curly.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 lib/curly.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

            } = finalOptions
        Severity: Minor
        Found in lib/curly.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

              curlHandle.setUploadStream(curlyStreamUpload)
        Severity: Minor
        Found in lib/curly.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 lib/curly.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

                    return
        Severity: Minor
        Found in lib/curly.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

                    reject(error)
        Severity: Minor
        Found in lib/curly.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 lib/curly.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.

        Expected property shorthand in object literal ('{headers}').
        Open

                      headers: headers,
        Severity: Minor
        Found in lib/curly.ts by tslint

        Rule: object-literal-shorthand

        Enforces/disallows use of ES6 object literal shorthand.

        Notes
        • Has Fix

        Config

        "always" assumed to be default option, thus with no options provided the rule enforces object literal methods and properties shorthands. With "never" option provided, any shorthand object literal syntax causes an error.

        The rule can be configured in a more granular way. With {"property": "never"} provided (which is equivalent to {"property": "never", "method": "always"}), the rule only flags property shorthand assignments, and respectively with {"method": "never"} (equivalent to {"property": "always", "method": "never"}), the rule fails only on method shorthands.

        Examples
        "object-literal-shorthand": true
        "object-literal-shorthand": true,never
        "object-literal-shorthand": true,[object Object]
        Schema
        {
          "oneOf": [
            {
              "type": "string",
              "enum": [
                "never"
              ]
            },
            {
              "type": "object",
              "properties": {
                "property": {
                  "type": "string",
                  "enum": [
                    "never"
                  ]
                },
                "method": {
                  "type": "string",
                  "enum": [
                    "never"
                  ]
                }
              },
              "minProperties": 1,
              "maxProperties": 2
            }
          ]
        }

        For more information see this page.

        Missing semicolon
        Open

          ): Promise<CurlyResult<ResultData>>
        Severity: Minor
        Found in lib/curly.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

          create: (defaultOptions?: CurlyOptions) => CurlyFunction
        Severity: Minor
        Found in lib/curly.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 lib/curly.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 lib/curly.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

        type HttpMethod = (typeof methods)[number]
        Severity: Minor
        Found in lib/curly.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

          ): Promise<CurlyResult<ResultData>>
        Severity: Minor
        Found in lib/curly.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

            curlHandle.enable(CurlFeature.NoDataParsing)
        Severity: Minor
        Found in lib/curly.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

                  : (keyTyped as CurlOptionName)
        Severity: Minor
        Found in lib/curly.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

                : 'setProgressCallback'
        Severity: Minor
        Found in lib/curly.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

                    headersReq[headerKey.toLowerCase()] = headerValue
        Severity: Minor
        Found in lib/curly.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 lib/curly.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 lib/curly.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 lib/curly.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

                error.code = errorCode
        Severity: Minor
        Found in lib/curly.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

          curly.create = create
        Severity: Minor
        Found in lib/curly.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 string = data.toString('utf8')
        Severity: Minor
        Found in lib/curly.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

          statusCode: number
        Severity: Minor
        Found in lib/curly.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

                curlHandle.close()
        Severity: Minor
        Found in lib/curly.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

          data: ResultData
        Severity: Minor
        Found in lib/curly.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

              curlHandle.enable(CurlFeature.StreamResponse)
        Severity: Minor
        Found in lib/curly.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 lib/curly.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

                    delete headersReq[headerKey]
        Severity: Minor
        Found in lib/curly.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

                    stream = _stream
        Severity: Minor
        Found in lib/curly.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 partsContentType = contentType.split('/')
        Severity: Minor
        Found in lib/curly.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

                  stream.emit('error', error)
        Severity: Minor
        Found in lib/curly.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

          curlyResponseBodyParser?: CurlyResponseBodyParser | false
        Severity: Minor
        Found in lib/curly.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

                    lowerCaseHeadersIfNecessary(headers)
        Severity: Minor
        Found in lib/curly.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

                  ) as string
        Severity: Minor
        Found in lib/curly.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

                        foundParser = parser
        Severity: Minor
        Found in lib/curly.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 lib/curly.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.

        Interface has only a call signature — use type CurlyHttpMethodCall = <resultdata any>( url: string, options?: CurlyOptions, ) =&gt; Promise<curlyresult>&gt;</curlyresult></resultdata> instead.
        Open

          <ResultData = any>(
            url: string,
            options?: CurlyOptions,
          ): Promise<CurlyResult<ResultData>>
        Severity: Minor
        Found in lib/curly.ts by tslint

        Rule: callable-types

        An interface or literal type with just a call signature can be written as a function type.

        Rationale

        style

        Notes
        • TypeScript Only
        • Has Fix

        Config

        Not configurable.

        For more information see this page.

        Missing semicolon
        Open

        ) => any
        Severity: Minor
        Found in lib/curly.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 lib/curly.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

          curlyLowerCaseHeaders?: boolean
        Severity: Minor
        Found in lib/curly.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 lib/curly.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 curlHandle = new Curl()
        Severity: Minor
        Found in lib/curly.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

              curlHandle[fnToCall](finalOptions.curlyProgressCallback)
        Severity: Minor
        Found in lib/curly.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

                  curlHandle.close()
        Severity: Minor
        Found in lib/curly.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

                  contentType = contentType.split(';')[0]
        Severity: Minor
        Found in lib/curly.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

                  reject(error)
        Severity: Minor
        Found in lib/curly.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

          headers: HeaderInfo[]
        Severity: Minor
        Found in lib/curly.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 stream: Readable
        Severity: Minor
        Found in lib/curly.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

                  ).find(([k]) => k.toLowerCase() === 'content-type')
        Severity: Minor
        Found in lib/curly.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 lib/curly.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 partsFormat = contentTypeFormat.split('/')
        Severity: Minor
        Found in lib/curly.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.

        Type assertion on object literals is forbidden, use a type annotation instead.
        Open

          curly.defaultResponseBodyParsers = {
            'application/json': (data, _headers) => {
              try {
                const string = data.toString('utf8')
                return JSON.parse(string)
        Severity: Minor
        Found in lib/curly.ts by tslint

        Rule: no-object-literal-type-assertion

        Forbids an object literal to appear in a type assertion expression. Casting to any or to unknown is still allowed.

        Rationale

        Always prefer const x: T = { ... }; to const x = { ... } as T;. The type assertion in the latter case is either unnecessary or hides an error. The compiler will warn for excess properties with this syntax, but not missing required fields. For example: const x: { foo: number } = {} will fail to compile, but const x = {} as { foo: number } will succeed. Additionally, the const assertion const x = { foo: 1 } as const, introduced in TypeScript 3.4, is considered beneficial and is ignored by this rule.

        Notes
        • TypeScript Only

        Config

        One option may be configured:

        • allow-arguments allows type assertions to be used on object literals inside call expressions.
        Examples
        "no-object-literal-type-assertion": true
        "no-object-literal-type-assertion": true,[object Object]
        Schema
        {
          "type": "object",
          "properties": {
            "allow-arguments": {
              "type": "boolean"
            }
          },
          "additionalProperties": false
        }

        For more information see this page.

        Missing semicolon
        Open

        } from './generated/CurlOption'
        Severity: Minor
        Found in lib/curly.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 { CurlFeature } from './enum/CurlFeature'
        Severity: Minor
        Found in lib/curly.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

            curlHandle.setOpt('URL', `${options.curlyBaseUrl || ''}${url}`)
        Severity: Minor
        Found in lib/curly.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 lib/curly.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

                          foundParser = parser
        Severity: Minor
        Found in lib/curly.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 lib/curly.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 lib/curly.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

          curlyResponseBodyParsers?: CurlyResponseBodyParsersProperty
        Severity: Minor
        Found in lib/curly.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

                curlHandle.close()
        Severity: Minor
        Found in lib/curly.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

                reject(error)
        Severity: Minor
        Found in lib/curly.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

                return JSON.parse(string)
        Severity: Minor
        Found in lib/curly.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 lib/curly.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: 'curly'
        Open

          function curly<ResultData>(
        Severity: Minor
        Found in lib/curly.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.

        Expected property shorthand in object literal ('{statusCode}').
        Open

                      statusCode: statusCode,
        Severity: Minor
        Found in lib/curly.ts by tslint

        Rule: object-literal-shorthand

        Enforces/disallows use of ES6 object literal shorthand.

        Notes
        • Has Fix

        Config

        "always" assumed to be default option, thus with no options provided the rule enforces object literal methods and properties shorthands. With "never" option provided, any shorthand object literal syntax causes an error.

        The rule can be configured in a more granular way. With {"property": "never"} provided (which is equivalent to {"property": "never", "method": "always"}), the rule only flags property shorthand assignments, and respectively with {"method": "never"} (equivalent to {"property": "always", "method": "never"}), the rule fails only on method shorthands.

        Examples
        "object-literal-shorthand": true
        "object-literal-shorthand": true,never
        "object-literal-shorthand": true,[object Object]
        Schema
        {
          "oneOf": [
            {
              "type": "string",
              "enum": [
                "never"
              ]
            },
            {
              "type": "object",
              "properties": {
                "property": {
                  "type": "string",
                  "enum": [
                    "never"
                  ]
                },
                "method": {
                  "type": "string",
                  "enum": [
                    "never"
                  ]
                }
              },
              "minProperties": 1,
              "maxProperties": 2
            }
          ]
        }

        For more information see this page.

        Missing semicolon
        Open

        import { HeaderInfo } from './parseHeaders'
        Severity: Minor
        Found in lib/curly.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

        ] as const
        Severity: Minor
        Found in lib/curly.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

          curlyProgressCallback?: CurlOptionValueType['xferInfoFunction']
        Severity: Minor
        Found in lib/curly.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 isUsingStream = !!(curlyStreamResponse || curlyStreamUpload)
        Severity: Minor
        Found in lib/curly.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 lib/curly.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 lib/curly.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

          defaultResponseBodyParsers: CurlyResponseBodyParsersProperty
        Severity: Minor
        Found in lib/curly.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 keyTyped = key as keyof CurlyOptions
        Severity: Minor
        Found in lib/curly.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 lib/curly.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

                error.isCurlError = true
        Severity: Minor
        Found in lib/curly.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

                curlHandle.perform()
        Severity: Minor
        Found in lib/curly.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

          return curly
        Severity: Minor
        Found in lib/curly.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 { Readable } from 'stream'
        Severity: Minor
        Found in lib/curly.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

          curlyBaseUrl?: string
        Severity: Minor
        Found in lib/curly.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

              if (optionName.startsWith('curly')) continue
        Severity: Minor
        Found in lib/curly.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 httpMethodOptions = httpMethodOptionsMap[httpMethodOptionsKey]
        Severity: Minor
        Found in lib/curly.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