We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Please describe what the rule should do: Enforce spacing on the style of curly brackets
What category of rule is this? (place an "X" next to just one item)
[x] Enforces code style [ ] Warns about a potential error [ ] Suggests an alternate way of doing something [ ] Other (please specify:)
Provide 2-3 code examples that this rule will warn about:
<template> <div> {{text}} </div> </template>
<template> <div> {{ text }} </div> </template>
The text was updated successfully, but these errors were encountered:
Thank you for this proposal!
Sounds good to me.
Sorry, something went wrong.
I think we should consider adding 2 options: always and never
always
never
curly-bracket-spacing: ['error', 'always|never']
mustache-curly-spacing
Add rule curly-bracket-spacing.
curly-bracket-spacing
435e9d0
fixes vuejs#150
Add mustache-curly-spacing rule.
48107fb
4c97f17
No branches or pull requests
Please describe what the rule should do:
Enforce spacing on the style of curly brackets
What category of rule is this? (place an "X" next to just one item)
[x] Enforces code style
[ ] Warns about a potential error
[ ] Suggests an alternate way of doing something
[ ] Other (please specify:)
Provide 2-3 code examples that this rule will warn about:
The text was updated successfully, but these errors were encountered: