Closed
Description
Tell us about your environment
- ESLint Version: 4.14.0
- eslint-plugin-vue Version: 4.3.0
- Node Version: 8.9.4
Please show your full configuration:
"vue/attributes-order": [2, {
order: [
"DEFINITION",
"LIST_RENDERING",
"CONDITIONALS",
"RENDER_MODIFIERS",
"GLOBAL",
"UNIQUE",
"CONTENT",
"OTHER_ATTR",
"BINDING",
"EVENTS"
]
}]
What did you do? Please include the actual source code causing the issue.
<div v-if="isVisible" v-dom-portal="true" :class="classes"></div>
What did you expect to happen?
v-dom-portal directive should not fail linting, as it should be OTHER_ATTR imo
What actually happened? Please include the actual, raw output from ESLint.
Instead it seems to be recognised as either DEFINITION or LIST_RENDERING, and the following message displays:
Attribute "v-dom-portal" should go before "v-if". (vue/attributes-order)