-
-
Notifications
You must be signed in to change notification settings - Fork 986
Labels
status: wipis being worked on by someoneis being worked on by someone
Description
Refactor to use import attributes now that we've dropped support for Node.js 18.
Ref: #8850
stylelint/lib/lintPostcssResult.mjs
Lines 15 to 17 in a8c356e
| /** @todo leverage import attributes once support for Node.js v18.19 is dropped */ | |
| const require = createRequire(import.meta.url); | |
| const syntaxPatches = require('@csstools/css-syntax-patches-for-csstree/dist/index.json').next; |
stylelint/lib/rules/function-no-unknown/index.mjs
Lines 15 to 17 in 8a35e1b
| /** @todo leverage import attributes once support for Node.js v18.19 is dropped */ | |
| const require = createRequire(import.meta.url); | |
| const functionsList = require('css-functions-list/index.json'); |
stylelint/lib/rules/declaration-property-value-no-unknown/index.mjs
Lines 23 to 25 in a8c356e
| /** @todo leverage import attributes once support for Node.js v18.19 is dropped */ | |
| const require = createRequire(import.meta.url); | |
| const syntaxPatches = require('@csstools/css-syntax-patches-for-csstree/dist/index.json').next; |
There may be other instances to refactor in the same PR.
Metadata
Metadata
Assignees
Labels
status: wipis being worked on by someoneis being worked on by someone