diff --git a/.prettierrc.yaml b/.prettierrc.yaml index e7c9d91..7fdc21b 100644 --- a/.prettierrc.yaml +++ b/.prettierrc.yaml @@ -5,14 +5,12 @@ semi: false singleQuote: true quoteProps: 'as-needed' bracketSpacing: false -# 多属性html标签的‘>’折行放置 +# 多属性html标签的'>'折行放置 jsxBracketSameLine: false arrowParens: 'always' requirePragma: false insertPragma: false -# //对HTML全局空白不敏感 htmlWhitespaceSensitivity: 'ignore' -# 结束行形式 endOfLine: 'lf' # 对引用代码进行格式化 embeddedLanguageFormatting: 'auto' diff --git a/src/test/panels/general/about_machine/about_machine.ts b/src/test/panels/general/about-machine/about-machine.ts similarity index 100% rename from src/test/panels/general/about_machine/about_machine.ts rename to src/test/panels/general/about-machine/about-machine.ts diff --git a/src/test/panels/general/general.ts b/src/test/panels/general/general.ts index 35631f6..c117b37 100644 --- a/src/test/panels/general/general.ts +++ b/src/test/panels/general/general.ts @@ -5,9 +5,9 @@ import {UlType} from '../../../components/ul/ul' import {LiType} from '../../../components/li/li' import {ButtonType, StarButton} from '../../../components/button/button' import {sharedStyles} from '../shared-styles' -import './about_machine/about_machine' -import './update/auto_update' -import './update/update_system' +import './about-machine/about-machine' +import './update/auto-update' +import './update/update-system' @customElement('panel-general') export class PanelGeneral extends LitElement { diff --git a/src/test/panels/general/update/auto_update.ts b/src/test/panels/general/update/auto-update.ts similarity index 100% rename from src/test/panels/general/update/auto_update.ts rename to src/test/panels/general/update/auto-update.ts diff --git a/src/test/panels/general/update/update_system.ts b/src/test/panels/general/update/update-system.ts similarity index 100% rename from src/test/panels/general/update/update_system.ts rename to src/test/panels/general/update/update-system.ts