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
Checklist
Tell us about your environment
Please show your full configuration:
import antfu from '@antfu/eslint-config' export default antfu({ vue: true, unocss: true, typescript: true, formatters: true, ignores: [`.github`, `bin`, `md-cli`, `src/assets`], }, { rules: { 'semi': [`error`, `never`], 'quotes': [`error`, `backtick`], 'no-unused-vars': `off`, 'no-console': `off`, 'no-debugger': `off`, }, })
What did you do?
<el-button :class.attr="'emojiTrigger'" size="large" link @click="toggleEmoji"> 😀Emoji键盘 <el-icon class="ml-2"> <ElIconArrowDown /> </el-icon> </el-button>
What did you expect to happen? Don't rewrite this code. It will compile to:
<el-button class="emojiTrigger" size="large" link @click="toggleEmoji"> 😀Emoji键盘 <el-icon class="ml-2"> <ElIconArrowDown /> </el-icon> </el-button>
It is no inherit parent's class name.
What actually happened? To:
Because it match the vue/prefer-separate-static-class rule.
vue/prefer-separate-static-class
Repository to reproduce this issue
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Checklist
Tell us about your environment
Please show your full configuration:
What did you do?
What did you expect to happen?
Don't rewrite this code.
It will compile to:
It is no inherit parent's class name.
What actually happened?
To:
Because it match the
vue/prefer-separate-static-class
rule.Repository to reproduce this issue
The text was updated successfully, but these errors were encountered: