object-curly-spacing [2, 'never']
complains of Flow type annotation in function parameters
#6940
Labels
accepted
There is consensus among the team that this change meets the criteria for inclusion
archived due to age
This issue has been archived; please open a new issue for any further discussion
bug
ESLint is working incorrectly
rule
Relates to ESLint's core rules
What version of ESLint are you using?
3.3.1
What parser (default, Babel-ESLint, etc.) are you using?
Babel-ESLint
Please show your full configuration:
What did you do? Please include the actual source code causing the issue.
What did you expect to happen?
That object-curly-spacing would not complain about
function foo ({a, b}: Props) {
. It's the style enforced by"flowtype/space-after-type-colon": [2, "always"]
.What actually happened? Please include the actual, raw output from ESLint.
I've looked at the rule qualifiers in http://eslint.org/docs/rules/object-curly-spacing and neither seem to apply.
The text was updated successfully, but these errors were encountered: