aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2025-06-12 13:22:49 +0200
committerGuilhem Moulin <guilhem@fripost.org>2025-06-12 13:30:16 +0200
commit9671d14c8b309e640df167fa54119fa1acb4dd6f (patch)
tree278d62795b6dc22de4f37bea2ac3f3476afe430c
parent0c7ef7254b78dfdf836138d99a28b59491802bad (diff)
Add a `lint` script to npm's package.json.
To be used with `npm run lint`.
-rw-r--r--package.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/package.json b/package.json
index ccdc8d3..26f753d 100644
--- a/package.json
+++ b/package.json
@@ -3,6 +3,7 @@
"version": "0.0.1",
"license": "AGPL-3.0-or-later",
"scripts": {
+ "lint": "npx eslint --color --format stylish",
"start": "vite",
"build": "vite build",
"serve": "vite preview"