We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18d6bec commit 1e529e7Copy full SHA for 1e529e7
packages/processor-css/lib/config-loader.js
@@ -1,8 +1,11 @@
1
-import {createRequire} from 'node:module';
+import defaultConfig from '../stylelintrc.json' with {
2
+ type: 'json',
3
+};
4
-const require = createRequire(import.meta.url);
5
+export {
6
+ defaultConfig,
7
8
-export const defaultConfig = require('../stylelintrc.json');
9
export const createConfigLoader = ({cosmiconfig}) => async () => {
10
const explorer = cosmiconfig('stylelint', {
11
searchStrategy: 'project',
packages/processor-css/package.json
@@ -48,11 +48,11 @@
48
"supertape": "^11.0.3"
49
},
50
"peerDependencies": {
51
- "putout": ">=40"
+ "putout": ">=41"
52
53
"license": "MIT",
54
"engines": {
55
- "node": ">=20"
+ "node": ">=22"
56
57
"publishConfig": {
58
"access": "public"
0 commit comments