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

修复一些代码样式的问题 #1240

Closed
wants to merge 27 commits into from
Closed

Conversation

Rintim
Copy link
Contributor

@Rintim Rintim commented Apr 19, 2024

PR受影响的平台

全部平台

诱因和背景

@mengxinzxz 答应我,下次能不能格式化一下

顺便解决了一些之前没考虑到的格式化

正式标准化无名杀的代码规范

PR描述

重新格式化大部分文件,让prettier的check得到保证

lib.init.parsex可以识别prettier不认识无名杀独特语法所格式化出的结果

增加Github Actions用于在每次PR后自动格式化,但这需要添加secrets.FORMAT_TOKEN才能正常工作(secrets.FORMAT_TOKEN的token需要允许workflow的权限)

总之 @Spmario233

PR测试

扩展适配

检查清单

  • 我已经进行了充足的测试,且现有的测试都已通过
  • 如果此次PR涉及到新功能的添加,我已在PR描述中写入详细文档
  • 如果此次PR需要扩展跟进,我已在扩展适配中写入详细文档
  • 如果这个PR解决了一个issue,我在诱因和背景中明确链接到该issue
  • 我保证该PR中没有随意修改换行符等内容,没有制造出大量的Diff
  • 我保证该PR遵循项目中.editorconfigeslint.config.mjsprettier.config.mjs所规定的代码样式,并且已经通过prettier格式化过代码

@Rintim Rintim changed the title 修复一些代码样式的问题 W.I.P | 修复一些代码样式的问题 Apr 20, 2024
@Rintim Rintim changed the title W.I.P | 修复一些代码样式的问题 修复一些代码样式的问题 Apr 20, 2024
@Rintim Rintim closed this Apr 20, 2024
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.

2 participants