chore(lint): migrate CSS linting to Biome v2.3 (Tailwind v4) and remove stylelint

upgrade @biomejs/biome to ^2.3.2 and migrate biome.json to v2 schema
enable css.parser.tailwindDirectives; ignore .min.css and vendor CSS
remove stylelint deps and .stylelintrc.yaml; switch lint scripts to Biome
update workspace to use Biome for CSS; drop stylelint settings
This commit is contained in:
George Cushen committed 2025-11-02 20:57:26 +00:00
1 parent 8a7ce247da
commit 6015c70b1e
7 files changed
+89 -1038

No files matched your search

+7 -10
View File
@@ -27,21 +27,18 @@
"vite-plugin-static-copy": "^3.1.1"
},
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"stylelint": "14.8.2",
"stylelint-config-standard": "~25.0.0",
"stylelint-scss": "~4.2.0"
"@biomejs/biome": "^2.3.2"
},
"scripts": {
"prod": "scripts/view-starter-prod.sh",
"dev": "scripts/view-starter-dev.sh",
"test": "scripts/view-test.sh",
"lint": "pnpm run lint:code && pnpm run lint:style",
"lint:code": "biome check --reporter=summary .",
"lint:code:fix": "biome check --write .",
"lint:style": "stylelint '**/*.css'",
"lint:style:fix": "stylelint '**/*.css' --fix",
"format": "pnpm run lint:code:fix && pnpm run lint:style:fix",
"lint": "biome check --reporter=summary .",
"lint:code": "biome check --reporter=summary . --linter-enabled=true --formatter-enabled=false",
"lint:code:fix": "biome check --write . --linter-enabled=true --formatter-enabled=false",
"lint:style": "biome check --reporter=summary modules/blox-tailwind/assets/css/ modules/blox-plugin-reveal/assets/css/ --linter-enabled=true --formatter-enabled=false",
"lint:style:fix": "biome check --write modules/blox-tailwind/assets/css/ modules/blox-plugin-reveal/assets/css/ --linter-enabled=true --formatter-enabled=false",
"format": "biome check --write .",
"update:starters": "poetry run python ./scripts/update.py",
"vendor:libs": "vite build --config vite.config.js",
"vendor:libs:watch": "vite build --config vite.config.js --watch",