Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

Ignore tslint:disable comments in comment-format/check-uppercase rule #1417

Closed
glen-84 opened this issue Jul 19, 2016 · 2 comments
Closed

Ignore tslint:disable comments in comment-format/check-uppercase rule #1417

glen-84 opened this issue Jul 19, 2016 · 2 comments

Comments

@glen-84
Copy link
Contributor

glen-84 commented Jul 19, 2016

Bug Report

  • TSLint version: 3.10.2
  • TypeScript version: 1.8.10
  • Running TSLint via: VS Code

TypeScript code being linted

// tslint:disable-next-line:no-unused-expression

with tslint.json configuration:

(not relevant)

Actual behavior

comment must start with uppercase letter

Expected behavior

Not expected, but it would be nice if this was ignored as an exception to the comment rule.

A multi-line comment can be used instead, but it's not ideal.

@adidahiya
Copy link
Contributor

agreed, this exception would be nice to have

@adrianpacala
Copy link
Contributor

I've just run into this issue, so 👍.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants