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

Add vue/no-restricted-static-attribute rule #1192

Merged
merged 3 commits into from Jun 7, 2020

Conversation

ota-meshi
Copy link
Member

This PR adds vue/no-restricted-static-attribute rule that disallow specific attribute.

The following options can be used to report typos such as stlye.

{
  "vue/no-restricted-static-attribute": ["error", "stlye"]
}

We can close the issue #992 by combining it with the vue/no-restricted-v-bind rule added in #1191.

Close #992.

@ota-meshi ota-meshi merged commit 898740e into master Jun 7, 2020
@ota-meshi ota-meshi deleted the add-rule/no-restricted-static-attr branch June 7, 2020 08:23
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 misspellings of properties (stlye, clsas)
1 participant