Skip to content

style: format code with Prettier and StandardJS#914

Closed
deepsource-autofix[bot] wants to merge 1 commit intomainfrom
deepsource-transform-445fb4ef
Closed

style: format code with Prettier and StandardJS#914
deepsource-autofix[bot] wants to merge 1 commit intomainfrom
deepsource-transform-445fb4ef

Conversation

@deepsource-autofix
Copy link
Copy Markdown
Contributor

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

Details: None

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

Details: None
@vercel
Copy link
Copy Markdown

vercel Bot commented Dec 28, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
pro-react-admin Ready Ready Preview, Comment Dec 28, 2025 2:24am

@what-the-diff
Copy link
Copy Markdown

what-the-diff Bot commented Dec 28, 2025

PR摘要

  • 修改了'removeTab'函数:我们为了保持语法一致性,对src/app-hooks/proTabsContext/index.jsx中的removeTab函数格式进行了调整,移除了尾随逗号。
  • 更新了颜色格式:在src/components/stateless/BackgroundBoxes/index.jsx中,我们为了语法的简洁性,把COLORS数组中的尾随逗号删除了。
  • 标准化了变换属性:我们把一个div元素的'style'中的transform属性字符串变为使用单引号。
  • 修正了在映射中的键的格式: 我们把映射元素中的键格式从模板字符串(template strings)调整为字符串连接。例如,我们把`row` + i 更改为 'row' + i
  • 统一了JSX语法格式:读者对于我们修改了在循环里条件渲染的SVG组件的格式可能会感兴趣,这是为了读者的可读性和语言一致性。我们把属性更改为使用单引号。

@sonarqubecloud
Copy link
Copy Markdown

@wkylin wkylin closed this Dec 28, 2025
@wkylin wkylin deleted the deepsource-transform-445fb4ef branch December 28, 2025 09:10
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