From fcbfad33a8e8fdb671d2907b55a8074df9a558e6 Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Sun, 16 Aug 2026 15:22:46 +0200 Subject: chore(web): add Stylelint CSS checks --- package.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'package.json') 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" } } -- cgit v1.2.3