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

⭐️New: Add vue/no-spaces-around-equal-signs-in-attribute #542

Merged
merged 4 commits into from
Aug 13, 2018

Conversation

ota-meshi
Copy link
Member

This PR add vue/no-spaces-around-equal-signs-in-attribute rule.
This implements rule proposed in #460

</template>`,

output:

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Redundant empty line

</div>
</template>`,
errors: [
'Unexpected spaces found around equal signs.',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see that you nicely report proper location in the rule. Perhaps it would be good to also make sure in tests that these reported locations are ok?

@ota-meshi
Copy link
Member Author

@michalsnik Thank you for the review! I changed it so please check again.

Copy link
Member

@michalsnik michalsnik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job! 🚀

@michalsnik michalsnik merged commit bf7c2b7 into vuejs:master Aug 13, 2018
@ota-meshi ota-meshi deleted the dev/no-spaces-around-equal-signs branch August 13, 2018 21:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants