aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorMatt Strapp <matt@mattstrapp.net>2023-09-15 14:55:39 -0500
committerMatt Strapp <matt@mattstrapp.net>2023-09-15 14:55:39 -0500
commit57955ced41c50577fec802cfae1eca2164fac369 (patch)
tree3a9d6b6079ecb1a9b0550c8423fcb865b3af1f07 /app
parentmake eslint and prettier happy (diff)
downloadtrinkets-57955ced41c50577fec802cfae1eca2164fac369.tar
trinkets-57955ced41c50577fec802cfae1eca2164fac369.tar.gz
trinkets-57955ced41c50577fec802cfae1eca2164fac369.tar.bz2
trinkets-57955ced41c50577fec802cfae1eca2164fac369.tar.lz
trinkets-57955ced41c50577fec802cfae1eca2164fac369.tar.xz
trinkets-57955ced41c50577fec802cfae1eca2164fac369.tar.zst
trinkets-57955ced41c50577fec802cfae1eca2164fac369.zip
lint: add eslint --fix to lint script
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to '')
-rw-r--r--app/package.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/package.json b/app/package.json
index 857d367..814db91 100644
--- a/app/package.json
+++ b/app/package.json
@@ -41,7 +41,7 @@
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"dev": "vite dev && rm -rf dev-dist",
- "format": "prettier --write .",
+ "format": "prettier --write . && eslint --fix .",
"lint": "prettier --check . && eslint .",
"preview": "vite preview"
},