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

generator-star-spacing - Unexpected space after * #49

Closed
danielkcz opened this issue Feb 11, 2016 · 1 comment
Closed

generator-star-spacing - Unexpected space after * #49

danielkcz opened this issue Feb 11, 2016 · 1 comment

Comments

@danielkcz
Copy link

I have a following code with default rule setting ("before").

async lockCallback(normalizedProfile, token) {
}

Fails with Unexpected space after * babel/generator-star-spacing

Using "after" fixes first issue, but causes another two for the following code

export function *iterateChildren() {
}
warning  Unexpected space before *  babel/generator-star-spacing
warning  Missing space after *      babel/generator-star-spacing

Using "both" or "neither" is unwanted, but essentially fixes the first issue.

"eslint": "~1.9.0",
"eslint-plugin-babel": "^3.1.0",
"eslint-plugin-react": "^3.16.1",
"babel": "~5.8.23",
"babel-core": "~5.8.34",
"babel-eslint": "~4.1.4",

@hzoo
Copy link
Member

hzoo commented Nov 17, 2016

deprecating those rules so closing #115

@hzoo hzoo closed this as completed Nov 17, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants