Skip to content
This repository was archived by the owner on Aug 18, 2021. It is now read-only.

change more tokentypes to be punctuator - fixes #59 - #90

Merged
sebmck merged 1 commit into
babel:masterfrom
hzoo:morePunctuatorTypes
May 11, 2015
Merged

sebmck merged 1 commit into
babel:masterfrom
hzoo:morePunctuatorTypes

Conversation

@hzoo

@hzoo hzoo commented May 11, 2015

Copy link
Copy Markdown
Member

#59.

Came across as similar issue in jscs as well. Some of the rules are checking something like op.type === "Punctuator" but some of the types are still TokenType rather than a string.

I basically just added everything in https://github.com/babel/babel/blob/master/src/acorn/src/tokentype.js#L48-L96 that wasn't already there.

I'm not sure we want all of these though?

sebmck added a commit that referenced this pull request May 11, 2015
change more tokentypes to be punctuator - fixes #59
@sebmck
sebmck merged commit a6b6352 into babel:master May 11, 2015
@sebmck

sebmck commented May 11, 2015

Copy link
Copy Markdown
Contributor

Nope, definently want them all. Thanks!

wcjohnson added a commit to wcjohnson/lightscript-eslint that referenced this pull request Oct 2, 2018
- Disable `array-callback-return`
- Disable `react/require-render-return`
- Monkeypatch `fp/no-nil`

Re wcjohnson/lightscript#90
nicolo-ribaudo pushed a commit to babel/babel that referenced this pull request Nov 14, 2019
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.

2 participants