Skip to content

style: format code with Prettier and StandardJS#529

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

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

Conversation

@deepsource-autofix
Copy link
Contributor

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

Details: None

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

Details: None
@vercel
Copy link

vercel bot commented Dec 24, 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 24, 2024 6:41am

@what-the-diff
Copy link

what-the-diff bot commented Dec 24, 2024

PR 概述

  • 更改了多个 <motion.div> 实例的格式
    我们将 <motion.div> 实例的结束标记从 ></motion.div> 更改为自我结束格式 />,使代码读起来更清楚,并遵守最佳的编程实践。
  • 更新了dragSnapToOrigin={true} 向其简化语法
    为了使代码更清晰,我们将 dragSnapToOrigin={true} 更新并简化为 dragSnapToOrigin
  • 简化了 initial={'hidden'}animate={'show'} 的写法
    为了保持一致性,我们将 initial={'hidden'}animate={'show'} 概括并简化为 initial="hidden"animate="show"

@sonarqubecloud
Copy link

@github-actions
Copy link

Qodana for JS

363 new problems were found

Inspection name Severity Problems
ESLint 🔴 Failure 227
Unused import 🔶 Warning 13
Unused local symbol 🔶 Warning 9
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
Suspicious variable/parameter name combination 🔶 Warning 1
Unused assignment 🔶 Warning 1
Void function return value used 🔶 Warning 1
Duplicate character in character class 🔶 Warning 1
Unresolved JSX component ◽️ Notice 65
Deprecated symbol used ◽️ Notice 12
Result of method call returning a promise is ignored ◽️ Notice 8
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 qodana-support@jetbrains.com

@wkylin wkylin closed this Dec 25, 2024
@wkylin wkylin deleted the deepsource-transform-b01cf795 branch December 25, 2024 06:23
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