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

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

Merged
merged 1 commit into from
May 11, 2015

Conversation

hzoo
Copy link
Member

@hzoo hzoo commented May 11, 2015

#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
Copy link
Contributor

sebmck commented May 11, 2015

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.

None yet

2 participants