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.
This commit is contained in:
Jonas Jenwald 2026-01-30 10:23:32 +01:00
parent 9c903a0ebc
commit a2909f9b66
2 changed files with 1 additions and 2 deletions

View File

@ -117,6 +117,7 @@ export default [
"web", "web",
"fluent-bundle", "fluent-bundle",
"fluent-dom", "fluent-dom",
"postcss-values-parser",
// See https://github.com/firebase/firebase-admin-node/discussions/1359. // See https://github.com/firebase/firebase-admin-node/discussions/1359.
"eslint-plugin-perfectionist", "eslint-plugin-perfectionist",
], ],

View File

@ -13,8 +13,6 @@
* limitations under the License. * 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 { parse, registerWalkers, Root } from "postcss-values-parser";
import { isString } from "stylelint/lib/utils/validateTypes.mjs"; import { isString } from "stylelint/lib/utils/validateTypes.mjs";
import stylelint from "stylelint"; import stylelint from "stylelint";