We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Tell us about your environment
Please show your full configuration:
module.exports = { root: true, env: { node: true, jest: true, }, plugins: [ '@typescript-eslint', 'vuetify', ], extends: [ 'standard', 'plugin:vue/recommended', '@vue/typescript/recommended', ], parserOptions: { parser: '@typescript-eslint/parser', }, rules: { // some rules omitted 'vue/attributes-order': ['error', { order: [ 'DEFINITION', 'LIST_RENDERING', 'CONDITIONALS', 'RENDER_MODIFIERS', 'GLOBAL', 'UNIQUE', 'TWO_WAY_BINDING', 'OTHER_DIRECTIVES', 'OTHER_ATTR', 'EVENTS', 'CONTENT', ], alphabetical: true, }], }, };
What did you do?
<template> <div> <div class="" :class="{}" /> <div :class="{}" class="" /> </div> </template>
What did you expect to happen?
lint --fix should set order in both divs either to :class class or class :class
lint --fix
:class class
class :class
What actually happened?
error: Attribute ":class" should go before "class" (vue/attributes-order) at src\App.vue:7:9: 5 | <div 6 | class="" > 7 | :class="{}" | ^ 8 | /> 9 | <div 10 | :class="{}" error: Attribute "class" should go before ":class" (vue/attributes-order) at src\App.vue:11:9: 9 | <div 10 | :class="{}" > 11 | class="" | ^ 12 | /> 13 | </div> 14 |
The text was updated successfully, but these errors were encountered:
Thank you for this issue.
I will check and fix this bug.
Sorry, something went wrong.
alphabetical
Probably related to #1056
Successfully merging a pull request may close this issue.
Tell us about your environment
Please show your full configuration:
What did you do?
What did you expect to happen?
lint --fix
should set order in both divs either to:class class
orclass :class
What actually happened?
The text was updated successfully, but these errors were encountered: