test: add eslint and prettier configuration with pre-commit hook

This commit is contained in:
Ember
2025-11-05 11:05:07 +08:00
parent 8350c31406
commit 6f760c3b0f
6 changed files with 183 additions and 1 deletions

22
web/.prettierignore Normal file
View File

@@ -0,0 +1,22 @@
# Dependencies
node_modules
# Build outputs
dist
build
*.tsbuildinfo
# Config files
pnpm-lock.yaml
package-lock.json
yarn.lock
# Logs
*.log
# Coverage
coverage
# IDE
.vscode
.idea