Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[jsx-tag-spacing] multiline-always or proportional-always ? #3294

Closed
burtek opened this issue May 22, 2022 · 1 comment
Closed

[jsx-tag-spacing] multiline-always or proportional-always ? #3294

burtek opened this issue May 22, 2022 · 1 comment

Comments

@burtek
Copy link
Contributor

burtek commented May 22, 2022

The docs for beforeSelfClosing and beforeClosing mention multiline-always option, but the rule schema and the rule code use proportional-always rule rahter than the multiline-always.

beforeSelfClosing: {
enum: ['always', 'proportional-always', 'never', 'allow'],
},
afterOpening: {
enum: ['always', 'allow-multiline', 'never', 'allow'],
},
beforeClosing: {
enum: ['always', 'proportional-always', 'never', 'allow'],
},

@ljharb
Copy link
Member

ljharb commented May 23, 2022

yes, thanks, this was renamed but the docs were overlooked.

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

No branches or pull requests

2 participants