Skip to content

Apply 'ban-comma-operator' lint rule#19736

Closed
ghost wants to merge 1 commit into
masterfrom
ban-comma-operator
Closed

Apply 'ban-comma-operator' lint rule#19736
ghost wants to merge 1 commit into
masterfrom
ban-comma-operator

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Nov 4, 2017

No description provided.

Comment thread src/compiler/scanner.ts
case CharacterCodes.exclamation:
if (text.charCodeAt(pos + 1) === CharacterCodes.equals) {
if (text.charCodeAt(pos + 2) === CharacterCodes.equals) {
return pos += 3, token = SyntaxKind.ExclamationEqualsEqualsToken;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i would rather we do not enable this rule either.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ghost ghost closed this Nov 6, 2017
@ghost ghost deleted the ban-comma-operator branch November 6, 2017 21:07
@microsoft microsoft locked and limited conversation to collaborators Jun 14, 2018
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant