summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorMartin Kagamino Lehoux <martin@lehoux.net>2026-08-16 15:22:46 +0200
committerMartin Kagamino Lehoux <martin@lehoux.net>2026-08-16 15:22:46 +0200
commitfcbfad33a8e8fdb671d2907b55a8074df9a558e6 (patch)
tree5b869de271a9029303f67d7ee2793d9be72fe20c /package.json
parent283c876aff2c1a5477955140df783a70ab76dbd8 (diff)
chore(web): add Stylelint CSS checks
Diffstat (limited to 'package.json')
-rw-r--r--package.json5
1 files changed, 4 insertions, 1 deletions
diff --git a/package.json b/package.json
index e63fa69..5dca7ed 100644
--- a/package.json
+++ b/package.json
@@ -4,7 +4,8 @@
"scripts": {
"format": "biome format --write web/frontend",
"format:check": "biome format web/frontend",
- "lint": "biome lint web/frontend",
+ "lint": "biome lint web/frontend && npm run lint:css",
+ "lint:css": "stylelint \"web/**/*.css\"",
"typecheck": "tsc --noEmit",
"build": "tsc -p tsconfig.build.json",
"test": "node --experimental-strip-types --test web/frontend/*.test.ts",
@@ -14,6 +15,8 @@
"@biomejs/biome": "^2.5.8",
"@types/leaflet": "^1.9.22",
"@types/node": "^26.2.0",
+ "stylelint": "^17.14.1",
+ "stylelint-config-standard": "^40.0.0",
"typescript": "^7.0.2"
}
}