fix: 取消样式检验
parent
04c2e4171b
commit
7db8a9aee5
@ -1,85 +0,0 @@
|
|||||||
/*
|
|
||||||
* @Author: donghao donghao@supervision.ltd
|
|
||||||
* @Date: 2024-01-12 14:35:28
|
|
||||||
* @LastEditors: donghao donghao@supervision.ltd
|
|
||||||
* @LastEditTime: 2024-01-17 11:42:27
|
|
||||||
* @FilePath: \General-AI-Platform-Web-Client\stylelint.config.js
|
|
||||||
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
|
||||||
*/
|
|
||||||
module.exports = {
|
|
||||||
root: true,
|
|
||||||
extends: [
|
|
||||||
"stylelint-config-standard",
|
|
||||||
"stylelint-config-html/vue",
|
|
||||||
"stylelint-config-recess-order"
|
|
||||||
],
|
|
||||||
plugins: ["stylelint-order", "stylelint-prettier", "stylelint-scss"],
|
|
||||||
rules: {
|
|
||||||
"selector-class-pattern": null,
|
|
||||||
"no-descending-specificity": null,
|
|
||||||
"scss/dollar-variable-pattern": null,
|
|
||||||
"selector-pseudo-class-no-unknown": [
|
|
||||||
true,
|
|
||||||
{
|
|
||||||
ignorePseudoClasses: ["deep", "global"]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"selector-pseudo-element-no-unknown": [
|
|
||||||
true,
|
|
||||||
{
|
|
||||||
ignorePseudoElements: ["v-deep", "v-global", "v-slotted"]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"at-rule-no-unknown": [
|
|
||||||
true,
|
|
||||||
{
|
|
||||||
ignoreAtRules: [
|
|
||||||
"tailwind",
|
|
||||||
"apply",
|
|
||||||
"variants",
|
|
||||||
"responsive",
|
|
||||||
"screen",
|
|
||||||
"function",
|
|
||||||
"if",
|
|
||||||
"each",
|
|
||||||
"include",
|
|
||||||
"mixin",
|
|
||||||
"use"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"rule-empty-line-before": [
|
|
||||||
"always",
|
|
||||||
{
|
|
||||||
ignore: ["after-comment", "first-nested"]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"unit-no-unknown": [
|
|
||||||
true,
|
|
||||||
{
|
|
||||||
ignoreUnits: ["rpx"]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"order/order": [
|
|
||||||
[
|
|
||||||
"dollar-variables",
|
|
||||||
"custom-properties",
|
|
||||||
"at-rules",
|
|
||||||
"declarations",
|
|
||||||
{
|
|
||||||
type: "at-rule",
|
|
||||||
name: "supports"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
type: "at-rule",
|
|
||||||
name: "media"
|
|
||||||
},
|
|
||||||
"rules"
|
|
||||||
],
|
|
||||||
{
|
|
||||||
severity: "warning"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
ignoreFiles: ["**/*.js", "**/*.ts", "**/*.jsx", "**/*.tsx"]
|
|
||||||
};
|
|
Loading…
Reference in New Issue