fix(style-lint): should allow ::v-deep selector

This commit is contained in:
chenjiahan
2020-03-25 17:03:24 +08:00
parent 858607a5f7
commit 3ab7ac328c
4 changed files with 12 additions and 6 deletions

View File

@@ -7,5 +7,11 @@ module.exports = {
'no-descending-specificity': null,
'declaration-colon-newline-after': null,
'font-family-no-missing-generic-family-keyword': null,
'selector-pseudo-element-no-unknown': [
true,
{
ignorePseudoElements: ['v-deep'],
},
],
},
};

View File

@@ -1,6 +1,6 @@
{
"name": "@vant/stylelint-config",
"version": "1.2.0",
"version": "1.2.1",
"description": "stylelint config of vant.",
"main": "index.js",
"publishConfig": {