-
-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
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
require-v-deep-argument
| should fix with :deep()
#228
Comments
So far there are rules to convert to https://future-architect.github.io/eslint-plugin-vue-scoped-css/rules/require-v-deep-argument.html |
no-unused-selector
| should fix with :deep()
require-v-deep-argument
| should fix with :deep()
Sure, I'll take a look at it later. I mean, with the next version, there can be a breaking change that could state the changes over the rule. It can also support converting the deprecated selector to the supported one 🤔 |
I think we should add a new rule. https://github.com/vuejs/rfcs/blob/master/active-rfcs/0023-scoped-styles-changes.md |
Note that the new rule does not check for .a ::v-deep .b {} Simply replacing it will break the selector. .a ::deep .b {} An already existing checking rule makes it a safe replaces. The new rule checks for v-deep with arguments. .a ::v-deep(.b) {} |
Hi!
Is it possible to configure
vue-scoped-css/require-v-deep-argument
rule to apply fixes with:deep()
instead of::v-deep
for Vue 3 projects?As stated in the following articles, the
:deep()
is currently supported syntax over the deprecated::v-deep
syntax.The text was updated successfully, but these errors were encountered: