From e03fb3e241cd8cd0d17aa9d67e8a46bf36f76c1c Mon Sep 17 00:00:00 2001 From: Xe Iaso Date: Sun, 15 Feb 2026 13:07:15 +0000 Subject: [PATCH] chore(prettier): don't format nginx includes Signed-off-by: Xe Iaso --- .prettierignore | 3 ++- package-lock.json | 7 ++++--- package.json | 3 ++- test/nginx/conf/nginx/conf-anubis.inc | 9 +++++++-- 4 files changed, 15 insertions(+), 7 deletions(-) diff --git a/.prettierignore b/.prettierignore index 7cf493d2..04f75622 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1 +1,2 @@ -lib/config/testdata/bad/* \ No newline at end of file +lib/config/testdata/bad/* +*.inc \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index b51316b4..8a31b1ee 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,6 +15,7 @@ "devDependencies": { "@commitlint/cli": "^20.4.1", "@commitlint/config-conventional": "^20.4.1", + "baseline-browser-mapping": "^2.9.19", "cssnano": "^7.1.2", "cssnano-preset-advanced": "^7.0.10", "esbuild": "^0.27.2", @@ -979,9 +980,9 @@ "license": "MIT" }, "node_modules/baseline-browser-mapping": { - "version": "2.8.23", - "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.8.23.tgz", - "integrity": "sha512-616V5YX4bepJFzNyOfce5Fa8fDJMfoxzOIzDCZwaGL8MKVpFrXqfNUoIpRn9YMI5pXf/VKgzjB4htFMsFKKdiQ==", + "version": "2.9.19", + "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.9.19.tgz", + "integrity": "sha512-ipDqC8FrAl/76p2SSWKSI+H9tFwm7vYqXQrItCuiVPt26Km0jS+NzSsBWAaBusvSbQcfJG+JitdMm+wZAgTYqg==", "dev": true, "license": "Apache-2.0", "bin": { diff --git a/package.json b/package.json index a2a4eeff..01292e4a 100644 --- a/package.json +++ b/package.json @@ -22,6 +22,7 @@ "devDependencies": { "@commitlint/cli": "^20.4.1", "@commitlint/config-conventional": "^20.4.1", + "baseline-browser-mapping": "^2.9.19", "cssnano": "^7.1.2", "cssnano-preset-advanced": "^7.0.10", "esbuild": "^0.27.2", @@ -65,4 +66,4 @@ "trailingComma": "all", "printWidth": 80 } -} \ No newline at end of file +} diff --git a/test/nginx/conf/nginx/conf-anubis.inc b/test/nginx/conf/nginx/conf-anubis.inc index bc20e8f4..1535ec91 100644 --- a/test/nginx/conf/nginx/conf-anubis.inc +++ b/test/nginx/conf/nginx/conf-anubis.inc @@ -1,2 +1,7 @@ -# /etc/nginx/conf-anubis.inc # Forward to anubis location / { proxy_set_header -Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_pass http://anubis; } +# /etc/nginx/conf-anubis.inc +# Forward to anubis +location / { + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_pass http://anubis; +}