返回提交历史
Modified
package.json
+1
-1
XFEstudio/SpaceNinjaServer
chore: use prettier instead of lint:fix for 'npm run fix' (#2906)
e.g., eslint can't fix prettier problems in .json files Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/2906 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
be3dd7ab
代码差异
1 个文件
+1
-1
@@ -22,7 +22,7 @@
22
22
"lint:fix": "eslint --fix --ext .ts .",
23
23
"prettier": "prettier --write .",
24
24
"update-translations": "cd scripts && node update-translations.cjs",
25
"fix": "npm run update-translations && npm run lint:fix"
25
"fix": "npm run update-translations && npm run prettier"
26
26
},
27
27
"license": "GNU",
28
28
"type": "module",