attr-case reports multiple errors for aliased attributes
attr-case
reports multiple errors for aliased attributes.
Reduced test-case
test.vue
:
<template>
<div :fooBar="baz"></div>
</template>
Configuration
{
"transform": {
"^.*\\.vue$": "html-validate-vue"
}
}
Expected result
One error:
2:10 error Attribute ":fooBar" should be lowercase attr-case
Actual result
Two errors:
2:10 error Attribute ":fooBar" should be lowercase attr-case
2:10 error Attribute "fooBar" should be lowercase attr-case
Version
- html-validate 1.6.0
- html-validate-vue 1.2.0