mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-01 01:10:34 +08:00
* docs: 拯救牛牛! * chore: 字符画使用单独目录 * feat: 随机动态加载字符画 * feat: 文档站的开发者工具console会打印随机字符画 * fix: 调整字符画初始行高,修正比例 * refactor: 简化冗余的缩放逻辑 * fix: 测量基准宽度时添加100ms延迟 * chore: Auto update by pre-commit hooks [skip changelog] * refactor: 加上类型注解,避免编辑器报错 * chore: 更改prettier配置,typescript行尾不使用分号 * chore: Auto update by pre-commit hooks [skip changelog] * fix: 完善字符画大小调整算法,稳定后再调整字体 * fix: 字符画的自适应调整逻辑 * feat: 字符画支持自定义主题 * docs: 调整“字号不要用小数”的注释提示 * fix: 判断document是否定义,避免构建失败 * refactor: 完善字符画获取逻辑 * feat: 为console中展示的字符画添加自动检测主题功能 * fix: 避免因滚动条等原因造成的字符画尺寸抖动 * chore: Priestess * refactor: 将字符画调取模块置于插件目录下 --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
41 lines
672 B
JavaScript
41 lines
672 B
JavaScript
module.exports = {
|
|
printWidth: 120,
|
|
tabWidth: 2,
|
|
useTabs: false,
|
|
bracketSpacing: true,
|
|
bracketSameLine: false,
|
|
endOfLine: 'auto',
|
|
semi: false,
|
|
singleQuote: true,
|
|
trailingComma: 'all',
|
|
arrowParens: 'always',
|
|
|
|
overrides: [
|
|
{
|
|
files: ['**/*.*css'],
|
|
options: {
|
|
singleQuote: false,
|
|
},
|
|
},
|
|
{
|
|
files: ['**/*.yml', '**/*.yaml'],
|
|
options: {
|
|
parser: 'yaml',
|
|
singleQuote: false,
|
|
},
|
|
},
|
|
{
|
|
files: ['**/*.json'],
|
|
options: {
|
|
tabWidth: 4,
|
|
},
|
|
},
|
|
{
|
|
files: ['**/*.md'],
|
|
options: {
|
|
embeddedLanguageFormatting: 'off',
|
|
},
|
|
},
|
|
],
|
|
}
|