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

prettier jsxBracketSameLine 已弃用 #5826

Open
cycleccc opened this issue Apr 7, 2024 · 1 comment
Open

prettier jsxBracketSameLine 已弃用 #5826

cycleccc opened this issue Apr 7, 2024 · 1 comment

Comments

@cycleccc
Copy link

cycleccc commented Apr 7, 2024

bug 描述

prettier jsxBracketSameLine 已弃用

image

你预期的样子是?

消除⚠️警告

系统和浏览器及版本号

操作系统:win10
浏览器和版本:chrome 123.0.6312.59

wangEditor 版本

wangeditor5.1.23

demo 能否复现该 bug ?

最小成本的复现步骤

  • 步骤一
    yarn lint
  • 步骤二
    可以看到警告 jsxBracketSameLine 已弃用
@cycleccc
Copy link
Author

cycleccc commented Apr 7, 2024

image
官方推荐使用 --bracket-same-line 代替
pretttier document

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

No branches or pull requests

1 participant