Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

style: format code with Prettier and StandardJS #468

Closed
wants to merge 1 commit into from

Conversation

deepsource-autofix[bot]
Copy link
Contributor

This commit fixes the style issues introduced in 0ed957e according to the output
from Prettier and StandardJS.

Details: None

This commit fixes the style issues introduced in 0ed957e according to the output
from Prettier and StandardJS.

Details: None
Copy link

vercel bot commented Oct 24, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
pro-react-admin ❌ Failed (Inspect) Oct 24, 2024 0:53am

Copy link

what-the-diff bot commented Oct 24, 2024

PR摘要

  • 更新了removeTab功能
    src/components/hooks/proTabsContext/index.jsx,我们更新了removeTab功能以删除不必要的尾随逗号。
  • 修复了格式并删除尾随逗号
    我们在src/pages/home/index.jsx修复了格式并删除了包含多个组件和属性的尾随逗号,确保了一贯性地使用单引号来表示字符串。
  • 调整了src/utils/aidFn.js中的方法签名
    我们纠正了间距并删除了不必要的逗号,改进了方法签名。
  • 整理了customizeTimer方法的对象格式
    src/utils/aidFn.js中,我们重构了customizeTimer方法的对象格式以实现一致性。
  • 清理了传递给oneApiChat函数的对象中的字符串格式
    我们改善了src/utils/aidFn.js中传递给oneApiChat函数的对象的字符串格式,提高了可读性。
  • 保持整体功能性的同时清理了多个文件中的微小代码样式不一致
    我们在保持整体功能性的同时,清理了多个文件中的微小代码样式不一致,提高了代码的整洁度和一致性。

Copy link

sonarcloud bot commented Oct 24, 2024

@wkylin wkylin closed this Oct 25, 2024
@wkylin wkylin deleted the deepsource-transform-f0d2e0f8 branch October 25, 2024 01:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant