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

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

Open
wolfy1339 opened this issue Dec 11, 2018 · 0 comments
Open

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

wolfy1339 opened this issue Dec 11, 2018 · 0 comments

Comments

@wolfy1339
Copy link

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`;
}
webschik added a commit to webschik/tslint-eslint-rules that referenced this issue Dec 16, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant