Skip to content
This repository was archived by the owner on Jan 14, 2019. It is now read-only.

refactor: mark AsteriskAsteriskEquals as assignment operator #46

Merged
merged 2 commits into from
Dec 19, 2018

Conversation

armano2
Copy link
Contributor

@armano2 armano2 commented Dec 13, 2018

This PR adds AsteriskAsteriskEquals **= to assigmentOperators operator

@armano2 armano2 force-pushed the asterisk_asterisk_equals_token branch from 383d44d to aeeec11 Compare December 14, 2018 00:04
@j-f1
Copy link
Contributor

j-f1 commented Dec 14, 2018

Can you add a test?

@armano2 armano2 force-pushed the asterisk_asterisk_equals_token branch from aeeec11 to 247be57 Compare December 14, 2018 00:33
@armano2 armano2 changed the title feat: fix AsteriskAsteriskEquals not being marked as assignment operator refactor: mark AsteriskAsteriskEquals as assignment operator Dec 14, 2018
@armano2
Copy link
Contributor Author

armano2 commented Dec 14, 2018

j-f1
j-f1 previously approved these changes Dec 14, 2018
JamesHenry
JamesHenry previously approved these changes Dec 14, 2018
Copy link
Owner

@JamesHenry JamesHenry left a comment

Choose a reason for hiding this comment

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

This one had a build failure but otherwise LGTM

@j-f1
Copy link
Contributor

j-f1 commented Dec 14, 2018

@armano2 You should be able to just push new commits since since this repo uses squash-merging so all the commits will be combined when the PR is merged.

@armano2
Copy link
Contributor Author

armano2 commented Dec 14, 2018

@j-f1 yes and no, commit message check is failing allays when i try to do 2nd commit

i added missing:

- function getTextForTokenKind(kind: number): string | undefined {
+ function getTextForTokenKind(kind: ts.SyntaxKind): string | undefined {

and changed also:

- const TOKEN_TO_TEXT: { readonly [P in keyof typeof SyntaxKind]?: string } = {
+ const TOKEN_TO_TEXT: { readonly [P in ts.SyntaxKind]?: string } = {

@j-f1
Copy link
Contributor

j-f1 commented Dec 14, 2018

@armano2 It looks like you just have to follow the guidelines from this package.

Copy link
Owner

@JamesHenry JamesHenry left a comment

Choose a reason for hiding this comment

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

LGTM, thanks

@JamesHenry JamesHenry merged commit fb10ef2 into JamesHenry:master Dec 19, 2018
@armano2 armano2 deleted the asterisk_asterisk_equals_token branch December 19, 2018 02:18
@JamesHenry
Copy link
Owner

🎉 This PR is included in version 7.0.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

3 participants