代码拉取完成,页面将自动刷新
export default {
extends: ["stylelint-config-standard"],
plugins: ["stylelint-high-performance-animation"],
rules: {
// Add some exceptions for recommended rules
"at-rule-no-unknown": [true, {ignoreAtRules: ["extend"]}],
"font-family-no-missing-generic-family-keyword": [
true,
{ignoreFontFamilies: ["FontAwesome"]},
],
// Disable recommended rules we don't comply with yet
"media-query-no-invalid": null,
"no-descending-specificity": null,
// Disable standard rules we don't comply with yet
"comment-empty-line-before": null,
"declaration-empty-line-before": null,
"keyframes-name-pattern": null,
"selector-class-pattern": null,
"selector-id-pattern": null,
// Limit language features
"color-no-hex": true,
"color-named": "never",
"declaration-property-value-disallowed-list": {
// thin/medium/thick is under-specified, please use pixels
"/^(border(-top|-right|-bottom|-left)?|outline)(-width)?$/": [
/\b(thin|medium|thick)\b/,
],
// no quotation marks around grid-area; use
// `grid-area: my_area`, not `grid-area: "my_area"`
"grid-area": [/".*"/],
},
"function-disallowed-list": [
// We use hsl instead of rgb
"rgb",
],
"plugin/no-low-performance-animation-properties": [true, {ignore: "paint-properties"}],
// Zulip CSS should have no dependencies on external resources
"function-url-no-scheme-relative": true,
"function-url-scheme-allowed-list": [
"data", // Allow data URLs
],
},
};
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。