]> Piment Noir Git Repositories - poolifier.git/commitdiff
build: replace Prettier with Biome
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Sun, 25 Oct 2026 19:05:26 +0000 (20:05 +0100)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Sun, 25 Oct 2026 19:05:26 +0000 (20:05 +0100)
Use the project-local CLI for Zed Markdown and YAML formatting.

Keep existing JS/TS and JSON formatter chains unchanged.

.prettierignore [deleted file]
.prettierrc.json [deleted file]
.zed/settings.json
package.json
pnpm-lock.yaml

diff --git a/.prettierignore b/.prettierignore
deleted file mode 100644 (file)
index a1f48c7..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-.nyc_output/
-coverage/
-docs/**/*.css
-docs/**/*.html
-docs/**/*.js
-lib/
-outputs/
-pnpm-lock.yaml
-reports/
-CHANGELOG.md
diff --git a/.prettierrc.json b/.prettierrc.json
deleted file mode 100644 (file)
index de62445..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-{
-  "$schema": "https://json.schemastore.org/prettierrc",
-  "arrowParens": "avoid",
-  "singleQuote": true,
-  "semi": false,
-  "trailingComma": "es5"
-}
index 053e8e7a189399aff46701054f2588b60c7dcecb..a3b02d2094d662569f36f63a5cb67f5c0ac072a4 100644 (file)
@@ -1,8 +1,8 @@
 // Zed project settings for poolifier
 //
 // JS/TS: Biome format → ESLint --fix
-// JSON, JSONC: Biome
-// Markdown, YAML: Prettier
+// JSON, JSONC: Biome language server
+// Markdown, YAML: local Biome CLI (whole-document formatting)
 {
   "format_on_save": "on",
 
     },
     // ── Markdown ──────────────────────────────────────────────
     "Markdown": {
-      "formatter": "prettier"
+      "formatter": {
+        "external": {
+          "command": "node",
+          "arguments": [
+            "node_modules/@biomejs/biome/bin/biome",
+            "format",
+            "--stdin-file-path",
+            "{buffer_path}"
+          ]
+        }
+      }
     },
     // ── YAML ──────────────────────────────────────────────────
     "YAML": {
-      "formatter": "prettier"
+      "formatter": {
+        "external": {
+          "command": "node",
+          "arguments": [
+            "node_modules/@biomejs/biome/bin/biome",
+            "format",
+            "--stdin-file-path",
+            "{buffer_path}"
+          ]
+        }
+      }
     }
   },
 
index 1ed409f32fe452ae9d9548dcbf57593925e24e65..294d83ef2de80b16db53c26e759dedbb62ab86d2 100644 (file)
     "husky": "^9.1.7",
     "lint-staged": "^17.6.0",
     "neostandard": "^0.14.1",
-    "prettier": "^3.9.10",
     "rollup": "^4.64.12",
     "rollup-plugin-analyzer": "^4.0.0",
     "rollup-plugin-command": "^1.1.3",
index 135c94a4ad256098d1087e387553887c7e122767..cb0d239fe00817b48f4250dac79aaca50caa44c5 100644 (file)
@@ -220,9 +220,6 @@ importers:
       neostandard:
         specifier: ^0.14.1
         version: 0.14.1(eslint@10.13.0(jiti@2.7.0))(typescript@6.0.3)
-      prettier:
-        specifier: ^3.9.10
-        version: 3.9.10
       rollup:
         specifier: ^4.64.12
         version: 4.64.12
@@ -2057,11 +2054,6 @@ packages:
     resolution: {integrity: sha512-E6rsNU1QNJgB3sjj7OANinGncFKuK+164sLXw1/CqBjj/EkXSoSdHCtWQGBNlREIGLnL7IEUEGa08YFVUbrhVg==}
     engines: {node: '>=16'}
 
-  prettier@3.9.10:
-    resolution: {integrity: sha512-skGHTH1Yb9QvaTC4hWnRTzEYtCpApF0UMBPz+t/0ZPzP8ihefo/btKd+QA7pUE0fEwA1SbS/NmhyEcstdXOIdA==}
-    engines: {node: '>=14'}
-    hasBin: true
-
   punycode.js@2.3.1:
     resolution: {integrity: sha512-uxFIHU0YlHYhDQtV4R9J6a52SLx28BCjT+4ieh7IGbgwVJWO+km431c4yRlREUAsAmt/uMjQUyQHNEPf0M39CA==}
     engines: {node: '>=6'}
@@ -4119,8 +4111,6 @@ snapshots:
 
   presentable-error@0.0.1: {}
 
-  prettier@3.9.10: {}
-
   punycode.js@2.3.1: {}
 
   punycode@2.3.1: {}