From a2909f9b66668a824cb7df0e2c2ea42450caa852 Mon Sep 17 00:00:00 2001 From: Jonas Jenwald Date: Fri, 30 Jan 2026 10:23:32 +0100 Subject: [PATCH] List `postcss-values-parser` as an import alias in the ESLint config This is similar to how other packages are handled, note e.g. the `fluent` ones. --- eslint.config.mjs | 1 + external/stylelint/no-unused-custom-properties.mjs | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/eslint.config.mjs b/eslint.config.mjs index 07cb66e14..e574a7d5d 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -117,6 +117,7 @@ export default [ "web", "fluent-bundle", "fluent-dom", + "postcss-values-parser", // See https://github.com/firebase/firebase-admin-node/discussions/1359. "eslint-plugin-perfectionist", ], diff --git a/external/stylelint/no-unused-custom-properties.mjs b/external/stylelint/no-unused-custom-properties.mjs index 135b5e68d..39a31d269 100644 --- a/external/stylelint/no-unused-custom-properties.mjs +++ b/external/stylelint/no-unused-custom-properties.mjs @@ -13,8 +13,6 @@ * limitations under the License. */ -// TODO: Remove the exception below once someone figures out how to fix it. -// eslint-disable-next-line import/no-unresolved import { parse, registerWalkers, Root } from "postcss-values-parser"; import { isString } from "stylelint/lib/utils/validateTypes.mjs"; import stylelint from "stylelint";