Skip to content
This repository was archived by the owner on Feb 21, 2022. It is now read-only.
This repository was archived by the owner on Feb 21, 2022. It is now read-only.

ter-newline-after-var: Doesn't detect new-line #366

@wolfy1339

Description

@wolfy1339

Take the following code, run it through tslint using the "ter-newline-after-var": [true, "always"] configuration. TSLint will then complain that there is no new-line after the variable declaration even though there is

let pendingStatus: string[] = []; // contains all pending checks from travis as multiple are sent

/**
 * @param  {string} s The commit hash string
 * @return {string}   Returns formatted commit hash string
 */
function fmt_url(s: string): string {
  return `\x0302\x1F${s}\x0F`;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions