Русифицировать 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
+17 -17
View File
@@ -1,36 +1,36 @@
module.exports = {
// (x)=>{},单个参数箭头函数是否显示小括号。(always:始终显示;avoid:省略括号。默认:always)
// Parentheses around a single arrow function parameter. Default: always.
arrowParens: "always",
// 开始标签的右尖括号是否跟随在最后一行属性末尾,默认false
// Put the closing bracket of a multi-line element at the end of the last line of attributes.
bracketSameLine: false,
// 对象字面量的括号之间打印空格 (true - Example: { foo: bar } ; false - Example: {foo:bar})
// Print spaces between brackets in object literals.
bracketSpacing: true,
// 是否格式化一些文件中被嵌入的代码片段的风格(auto|off;默认auto)
// Format embedded code snippets.
embeddedLanguageFormatting: "auto",
// 指定 HTML 文件的空格敏感度 (css|strict|ignore;默认css)
// HTML whitespace sensitivity.
htmlWhitespaceSensitivity: "css",
// 当文件已经被 Prettier 格式化之后,是否会在文件顶部插入一个特殊的 @format 标记,默认false
// Insert a special @format marker at the top of formatted files.
insertPragma: false,
// 在 JSX 中使用单引号替代双引号,默认false
// Use single quotes in JSX.
jsxSingleQuote: false,
// 每行最多字符数量,超出换行(默认80)
// Maximum line length.
printWidth: 80,
// 超出打印宽度 (always | never | preserve )
// Markdown prose wrapping.
proseWrap: "preserve",
// 对象属性是否使用引号(as-needed | consistent | preserve;默认as-needed:对象的属性需要加引号才添加;)
// Object property quote policy.
quoteProps: "as-needed",
// 是否只格式化在文件顶部包含特定注释(@prettier| @format)的文件,默认false
// Format only files with @prettier or @format pragma.
requirePragma: false,
// 结尾添加分号
// Add semicolons.
semi: true,
// 使用单引号 (true:单引号;false:双引号)
// Use single quotes.
singleQuote: false,
// 缩进空格数,默认2个空格
// Indentation width.
tabWidth: 2,
// 元素末尾是否加逗号,默认es5: ES5中的 objects, arrays 等会添加逗号,TypeScript 中的 type 后不加逗号
// Trailing commas.
trailingComma: "es5",
// 指定缩进方式,空格或tab,默认false,即使用空格
// Use tabs for indentation.
useTabs: false,
// vue 文件中是否缩进 <style> <script> 标签,默认 false
// Indent <style> and <script> tags in Vue files.
vueIndentScriptAndStyle: false,
};