ChatALL
ChatALL copied to clipboard
Upgrade prettier to v3.5.3
Upgrade prettier to v3.5.3, and also format the code base using the latest prettier v3.5.3 to pass the linter.
cc #1009
GitHub Copilot change summary:
This pull request includes updates to dependencies, formatting improvements, and minor structural adjustments across multiple Vue components. The changes primarily focus on updating the
prettierdependency, improving code readability by adjusting formatting, and ensuring consistency in template structures.Dependency Updates:
- Updated
prettierfrom version3.4.2to3.5.3inpackage.jsonto ensure compatibility with the latest features and fixes.Formatting Improvements:
- Adjusted the template formatting in
src/App.vueto improve readability and maintain consistency across nested elements. [1] [2] [3]- Reformatted templates in various bot settings components, such as
BardBotSettings.vue,BingChatBotSettings.vue, andChatGLMBotSettings.vue, to use single-line tags where appropriate. [1] [2] [3]Structural Adjustments:
- Ensured consistent closing tag placement in
CommonBotSettings.vueand other bot-specific settings components to enhance code clarity. [1] [2] [3]- Added missing newline characters at the end of several files for better adherence to coding standards. [1] [2] [3]
Summary by mrge
Upgraded Prettier to v3.5.3 and reformatted the entire codebase to match the new formatting rules.
-
Dependencies
- Updated Prettier from v3.4.2 to v3.5.3.
-
Refactors
- Reformatted all Vue components and related files for consistent code style and to pass linting.
Summary by CodeRabbit
-
Style
- Reformatted templates and markup across multiple components for more compact and consistent indentation and inline tag style.
- Adjusted whitespace and line breaks in templates without affecting functionality or behavior.
- No changes to logic, data, event handling, or component behavior.
-
Chores
- Updated the "prettier" development dependency to a newer version.