修改stylelint配置,优化代码

This commit is contained in:
hooray 2022-03-12 09:51:33 +08:00
parent 3685b70c2f
commit 2ffc8c18d9
3 changed files with 10 additions and 3 deletions

View File

@ -35,6 +35,14 @@
]
}
],
"property-no-vendor-prefix": [
true,
{
"ignoreProperties": [
"mask-image"
]
}
],
"max-line-length": null
}
}

View File

@ -92,8 +92,8 @@ function pathCompile(path) {
align-items: center;
padding-right: 50px;
overflow: hidden;
/* stylelint-disable-next-line property-no-vendor-prefix */
-webkit-mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 50px), transparent);
mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 50px), transparent);
.sidebar-collapse {
display: flex;
align-items: center;

View File

@ -150,8 +150,7 @@ const oneStepAdminInfo = ref({
<style lang="scss" scoped>
.text-emphasis {
/* stylelint-disable-next-line property-no-vendor-prefix */
-webkit-text-emphasis-style: "❤";
text-emphasis-style: "❤";
}
.ecology {
padding: 10px 0 0;