修改stylelint配置,优化代码

This commit is contained in:
hooray
2022-03-12 09:51:37 +08:00
parent 3d2fc3c770
commit d462554fcb
3 changed files with 10 additions and 3 deletions
+8
View File
@@ -35,6 +35,14 @@
]
}
],
"property-no-vendor-prefix": [
true,
{
"ignoreProperties": [
"mask-image"
]
}
],
"max-line-length": null
}
}
+1 -1
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;
+1 -2
View File
@@ -22,7 +22,6 @@
<style lang="scss" scoped>
.text-emphasis {
/* stylelint-disable-next-line property-no-vendor-prefix */
-webkit-text-emphasis-style: "❤";
text-emphasis-style: "❤";
}
</style>