mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
fix(style-lint): should allow ::v-deep selector
This commit is contained in:
parent
858607a5f7
commit
3ab7ac328c
@ -52,7 +52,7 @@
|
||||
"@vant/eslint-config": "^2.0.0",
|
||||
"@vant/markdown-loader": "^2.3.0",
|
||||
"@vant/markdown-vetur": "^2.0.0",
|
||||
"@vant/stylelint-config": "^1.2.0",
|
||||
"@vant/stylelint-config": "^1.2.1",
|
||||
"@vant/touch-emulator": "^1.2.0",
|
||||
"@vue/babel-preset-jsx": "^1.1.2",
|
||||
"@vue/component-compiler-utils": "^3.1.1",
|
||||
|
@ -1571,10 +1571,10 @@
|
||||
fast-glob "^3.2.2"
|
||||
fs-extra "^9.0.0"
|
||||
|
||||
"@vant/stylelint-config@^1.2.0":
|
||||
version "1.2.0"
|
||||
resolved "https://registry.yarnpkg.com/@vant/stylelint-config/-/stylelint-config-1.2.0.tgz#435cac883489c2bb7dbdb2403a6838ec6a15f9c7"
|
||||
integrity sha512-hmsLX1/FGO4Dy+3UDZSK/YJNgl5ZY8l7P0r/PhXXQ5u+5wYOuvVEKb0qL4FVGjf2C7zR7zkMtRUSnIn8uU7/Cw==
|
||||
"@vant/stylelint-config@^1.2.1":
|
||||
version "1.2.1"
|
||||
resolved "https://registry.yarnpkg.com/@vant/stylelint-config/-/stylelint-config-1.2.1.tgz#3ed9584053f70b1d8461d91dc614d7ec2c9950c1"
|
||||
integrity sha512-N0M5LJNU3XzjFWA6PhsseQnkLYobzKBEBbYG9+9OnrFdRqweN+jYdDIdDLu5GD5clEEAyFsCabLMPdfBbISPcw==
|
||||
dependencies:
|
||||
stylelint-config-rational-order "^0.1.2"
|
||||
stylelint-config-standard "^20.0.0"
|
||||
|
@ -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'],
|
||||
},
|
||||
],
|
||||
},
|
||||
};
|
||||
|
@ -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": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user