-
Notifications
You must be signed in to change notification settings - Fork 610
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
修复一些代码样式的问题 #1240
Closed
Closed
修复一些代码样式的问题 #1240
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
chore: test auto format
pref: permission test.
fix: might the last test.
fix: add token maybe.
fix: change name && test.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR受影响的平台
全部平台
诱因和背景
@mengxinzxz 答应我,下次能不能格式化一下
顺便解决了一些之前没考虑到的格式化正式标准化无名杀的代码规范
PR描述
重新格式化大部分文件,让prettier的check得到保证
让
lib.init.parsex
可以识别prettier
不认识无名杀独特语法所格式化出的结果增加Github Actions用于在每次PR后自动格式化,但这需要添加
secrets.FORMAT_TOKEN
才能正常工作(secrets.FORMAT_TOKEN的token需要允许workflow的权限)总之 @Spmario233
PR测试
无
扩展适配
无
检查清单
PR描述
中写入详细文档扩展适配
中写入详细文档诱因和背景
中明确链接到该issue.editorconfig
、eslint.config.mjs
和prettier.config.mjs
所规定的代码样式,并且已经通过prettier
格式化过代码