From c1bded9887d0734e5f099b07cbd8463891a71722 Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期四, 28 八月 2025 10:41:27 +0800
Subject: [PATCH] gx

---
 .stylelintrc.js |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/.stylelintrc.js b/.stylelintrc.js
index 3f69bf0..960c835 100644
--- a/.stylelintrc.js
+++ b/.stylelintrc.js
@@ -5,6 +5,15 @@
         "stylelint-scss"
     ],
     "rules": {
+        'selector-pseudo-class-no-unknown': [
+            true,
+            {
+              ignorePseudoClasses: ['deep'], // 允许 :deep()
+            },
+         ],
+        'selector-class-pattern': null, // 关闭类选择器命名规则
+        'color-named': null, // 允许使用颜色名称
+        "keyframes-name-pattern": null,
         // http://stylelint.cn/user-guide/rules/
         // 要求在 at 规则之后有一个一个空格
         "at-rule-name-space-after": "always",
@@ -132,8 +141,7 @@
         "no-invalid-double-slash-comments": true,
         
         // 禁止动画名称与 @keyframes 声明不符
-        "no-unknown-animations": true,
-        
+        "no-unknown-animations": null,
         // 禁止数字中的拖尾 0
         "number-no-trailing-zeros": true,
         

--
Gitblit v1.8.0