chore(lint): configure eslint prettier and lint-staged

This commit is contained in:
2026-04-04 12:23:11 +08:00
parent 91ce1afdfc
commit 0b353ad6a0
7 changed files with 854 additions and 2 deletions
+4
View File
@@ -0,0 +1,4 @@
module.exports = {
"*.{js,mjs,cjs,ts,tsx}": ["eslint --fix", "prettier --write"],
"*.{json,md,yml,yaml}": ["prettier --write"]
};