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 #499

Closed
wants to merge 1 commit into from

Conversation

deepsource-autofix[bot]
Copy link
Contributor

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

Details: None

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

Details: None
Copy link

railway-app bot commented Dec 1, 2024

This PR was not deployed automatically as @deepsource-autofix[bot] does not have access to the Railway project.

In order to get automatic PR deploys, please add @deepsource-autofix[bot] to the project inside the project settings page.

Copy link

vercel bot commented Dec 1, 2024

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

Name Status Preview Comments Updated (UTC)
pro-react-admin ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 1, 2024 7:08am

Copy link

what-the-diff bot commented Dec 1, 2024

PR摘要

  • 更改了JSX的几个属性
    现在,我们使用单引号代替双引号,以统一代码风格(例如,textavatarplaceholder)。
  • 将一些自闭合标签从简写形式转换为完整形式
    原先简写形式,如<Tag />,现在转为增加了关闭标签的完整形式,如<section className={styles.line} />
  • 更新了buttondiv类,使用更简洁的点表示法引用样式
    我们把样式引用方式由styles['button']更改为styles.button
  • 其他的一些微小格式调整
    比如,我们移除了物件定义的尾随逗号。

Copy link

sonarcloud bot commented Dec 1, 2024

Copy link

github-actions bot commented Dec 1, 2024

Qodana for JS

289 new problems were found

Inspection name Severity Problems
ESLint 🔴 Failure 207
Unused import 🔶 Warning 8
Unused local symbol 🔶 Warning 6
Unnecessary non-capturing group 🔶 Warning 6
Mismatched JSDoc and function signature 🔶 Warning 4
Redundant local variable 🔶 Warning 4
Redundant character escape 🔶 Warning 3
Import can be shortened 🔶 Warning 2
Equality operator may cause type coercion 🔶 Warning 1
Unused assignment 🔶 Warning 1
Void function return value used 🔶 Warning 1
Duplicate character in character class 🔶 Warning 1
Unresolved JSX component ◽️ Notice 27
Result of method call returning a promise is ignored ◽️ Notice 7
Deprecated symbol used ◽️ Notice 6
Duplicated code fragment ◽️ Notice 2
Regular expression can be simplified ◽️ Notice 2
Missing await for an async function call ◽️ Notice 1

☁️ View the detailed Qodana report

Contact Qodana team

Contact us at [email protected]

@wkylin wkylin closed this Dec 5, 2024
@wkylin wkylin deleted the deepsource-transform-3daf08c3 branch December 8, 2024 03:30
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