Skip to content

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

Merged
ota-meshi merged 3 commits intomasterfrom
add-rule/no-restricted-static-attr
Jun 7, 2020
Merged

Add vue/no-restricted-static-attribute rule#1192
ota-meshi merged 3 commits intomasterfrom
add-rule/no-restricted-static-attr

Conversation

@ota-meshi
Copy link
Copy Markdown
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