mirror of
https://github.com/pheralb/svgl.git
synced 2025-12-29 08:01:36 +08:00
🛠️ Add prettier & eslint commands
This commit is contained in:
+4
-2
@@ -26,8 +26,10 @@
|
||||
"prepare": "svelte-kit sync || echo ''",
|
||||
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
||||
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
|
||||
"format": "prettier --write .",
|
||||
"lint": "prettier --check . && eslint ."
|
||||
"format": "prettier --write \"src/**/*.{ts,js,md,svelte}\" --cache",
|
||||
"format:check": "prettier --check \"src/**/*.{ts,js,md,svelte}\" --cache",
|
||||
"lint": "eslint ./src",
|
||||
"lint:fix": "eslint ./src --fix"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@eslint/compat": "1.3.2",
|
||||
|
||||
Reference in New Issue
Block a user