mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-08-07 13:09:45 +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/eslint-config": "^2.0.0",
|
||||||
"@vant/markdown-loader": "^2.3.0",
|
"@vant/markdown-loader": "^2.3.0",
|
||||||
"@vant/markdown-vetur": "^2.0.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",
|
"@vant/touch-emulator": "^1.2.0",
|
||||||
"@vue/babel-preset-jsx": "^1.1.2",
|
"@vue/babel-preset-jsx": "^1.1.2",
|
||||||
"@vue/component-compiler-utils": "^3.1.1",
|
"@vue/component-compiler-utils": "^3.1.1",
|
||||||
|
@ -1571,10 +1571,10 @@
|
|||||||
fast-glob "^3.2.2"
|
fast-glob "^3.2.2"
|
||||||
fs-extra "^9.0.0"
|
fs-extra "^9.0.0"
|
||||||
|
|
||||||
"@vant/stylelint-config@^1.2.0":
|
"@vant/stylelint-config@^1.2.1":
|
||||||
version "1.2.0"
|
version "1.2.1"
|
||||||
resolved "https://registry.yarnpkg.com/@vant/stylelint-config/-/stylelint-config-1.2.0.tgz#435cac883489c2bb7dbdb2403a6838ec6a15f9c7"
|
resolved "https://registry.yarnpkg.com/@vant/stylelint-config/-/stylelint-config-1.2.1.tgz#3ed9584053f70b1d8461d91dc614d7ec2c9950c1"
|
||||||
integrity sha512-hmsLX1/FGO4Dy+3UDZSK/YJNgl5ZY8l7P0r/PhXXQ5u+5wYOuvVEKb0qL4FVGjf2C7zR7zkMtRUSnIn8uU7/Cw==
|
integrity sha512-N0M5LJNU3XzjFWA6PhsseQnkLYobzKBEBbYG9+9OnrFdRqweN+jYdDIdDLu5GD5clEEAyFsCabLMPdfBbISPcw==
|
||||||
dependencies:
|
dependencies:
|
||||||
stylelint-config-rational-order "^0.1.2"
|
stylelint-config-rational-order "^0.1.2"
|
||||||
stylelint-config-standard "^20.0.0"
|
stylelint-config-standard "^20.0.0"
|
||||||
|
@ -7,5 +7,11 @@ module.exports = {
|
|||||||
'no-descending-specificity': null,
|
'no-descending-specificity': null,
|
||||||
'declaration-colon-newline-after': null,
|
'declaration-colon-newline-after': null,
|
||||||
'font-family-no-missing-generic-family-keyword': 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",
|
"name": "@vant/stylelint-config",
|
||||||
"version": "1.2.0",
|
"version": "1.2.1",
|
||||||
"description": "stylelint config of vant.",
|
"description": "stylelint config of vant.",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user