Русифицировать README и интерфейс HY2XS admin

This commit is contained in:
2026-04-25 23:51:21 +05:00
parent 84a4e94567
commit 2b4a45ad23
167 changed files with 632 additions and 699 deletions
+10 -10
View File
@@ -1,5 +1,5 @@
module.exports = {
// 继承推荐规范配置
// Extend recommended configs
extends: [
"stylelint-config-standard",
"stylelint-config-recommended-scss",
@@ -7,7 +7,7 @@ module.exports = {
"stylelint-config-html/vue",
"stylelint-config-recess-order",
],
// 指定不同文件对应的解析器
// Parsers for different file types
overrides: [
{
files: ["**/*.{vue,html}"],
@@ -18,21 +18,21 @@ module.exports = {
customSyntax: "postcss-scss",
},
],
// 自定义规则
// Custom rules
rules: {
"import-notation": "string", // 指定导入CSS文件的方式("string"|"url")
"selector-class-pattern": null, // 选择器类名命名规则
"custom-property-pattern": null, // 自定义属性命名规则
"keyframes-name-pattern": null, // 动画帧节点样式命名规则
"no-descending-specificity": null, // 允许无降序特异性
// 允许 global export 、deep伪类
"import-notation": "string", // CSS import notation: "string" | "url"
"selector-class-pattern": null, // Selector class naming rule
"custom-property-pattern": null, // Custom property naming rule
"keyframes-name-pattern": null, // Keyframe naming rule
"no-descending-specificity": null, // Allow non-descending specificity
// Allow global, export and deep pseudo classes
"selector-pseudo-class-no-unknown": [
true,
{
ignorePseudoClasses: ["global", "export", "deep"],
},
],
// 允许未知属性
// Allow unknown properties
"property-no-unknown": [
true,
{