瀏覽代碼

chore(config): 更新 stylelint 字体样式规则

wangcong 2 月之前
父節點
當前提交
e9d044f965
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      .stylelintrc.cjs

+ 6 - 0
.stylelintrc.cjs

@@ -8,5 +8,11 @@ module.exports = {
         message: 'Expected class pattern to be BEM style',
       },
     ],
+    'font-family-no-missing-generic-family-keyword': [
+      true,
+      {
+        ignoreFontFamilies: ['DINAlternate'],
+      },
+    ],
   },
 };