Skip to content

Add no-this-in-template rule. #149

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

Merged
merged 2 commits into from
Aug 15, 2017
Merged

Conversation

armano2
Copy link
Contributor

@armano2 armano2 commented Aug 12, 2017

fixes #148

@@ -0,0 +1,25 @@
# Disallow usage of `this` in the template. (no-this-in-template)
Copy link
Member

Choose a reason for hiding this comment

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

in a template

@@ -0,0 +1,25 @@
# Disallow usage of `this` in the template. (no-this-in-template)

This rule reports expresions witch contains `this`.
Copy link
Member

Choose a reason for hiding this comment

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

that contain this keyword in expressions

@armano2
Copy link
Contributor Author

armano2 commented Aug 15, 2017

@michalsnik suggestions to documentation applied

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.

GJ 🍻

@michalsnik michalsnik merged commit 1e7a13a into vuejs:master Aug 15, 2017
@armano2 armano2 deleted the no-this-in-template branch August 15, 2017 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Disallow this in template
3 participants