freeCodeCamp / chinese

https://github.com/freeCodeCamp/news-translation/projects/2?fullscreen=true
Creative Commons Attribution Share Alike 4.0 International
207 stars 211 forks source link

Format lint #1237

Closed Liumingxun closed 2 months ago

Liumingxun commented 2 months ago

I noticed that lint rule in the README.md, because the latest merged PR have CI error, is it still valid right now? This PR only run the format script.

If it doesn't matter, pls just close this PR.


我发现最新合并的 PR 有一个 CI 错误,并且 README 中指出了有 lint 规则,这条规则目前还有效吗?

如果没关系的话,可以直接关闭这个 PR。

miyaliu666 commented 2 months ago

谢谢 @Liumingxun 指出这个问题。因为我平时校对的时候 会直接在 Ghost CMS 里面修改译文的错误,没有在 PR 下面提交 commit,所以 lint 报错对校对有参考意义,而且译者也能根据报错来规范写作格式(虽然不是每位译者都会根据报错来修改译文)。

所以我想 我们还是保留 lint 规则,偶尔批量修改和提交。