@unocss/eslint-plugin 0.56.2 → 0.56.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +1 -1
- package/dist/worker.cjs +4 -1
- package/dist/worker.mjs +4 -1
- package/package.json +5 -5
package/dist/index.cjs
CHANGED
package/dist/index.d.cts
CHANGED
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.mjs
CHANGED
package/dist/worker.cjs
CHANGED
|
@@ -43,7 +43,10 @@ async function _getGenerator() {
|
|
|
43
43
|
const { config: config$1, sources } = await config.loadConfig();
|
|
44
44
|
if (!sources.length)
|
|
45
45
|
throw new Error("[@unocss/eslint-plugin] No config file found, create a `uno.config.ts` file in your project root and try again.");
|
|
46
|
-
return core.createGenerator(
|
|
46
|
+
return core.createGenerator({
|
|
47
|
+
...config$1,
|
|
48
|
+
warn: false
|
|
49
|
+
});
|
|
47
50
|
}
|
|
48
51
|
async function getGenerator() {
|
|
49
52
|
promise = promise || _getGenerator();
|
package/dist/worker.mjs
CHANGED
|
@@ -37,7 +37,10 @@ async function _getGenerator() {
|
|
|
37
37
|
const { config, sources } = await loadConfig();
|
|
38
38
|
if (!sources.length)
|
|
39
39
|
throw new Error("[@unocss/eslint-plugin] No config file found, create a `uno.config.ts` file in your project root and try again.");
|
|
40
|
-
return createGenerator(
|
|
40
|
+
return createGenerator({
|
|
41
|
+
...config,
|
|
42
|
+
warn: false
|
|
43
|
+
});
|
|
41
44
|
}
|
|
42
45
|
async function getGenerator() {
|
|
43
46
|
promise = promise || _getGenerator();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/eslint-plugin",
|
|
3
|
-
"version": "0.56.
|
|
3
|
+
"version": "0.56.3",
|
|
4
4
|
"description": "ESLint plugin for UnoCSS",
|
|
5
5
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -34,14 +34,14 @@
|
|
|
34
34
|
"node": ">=14"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@typescript-eslint/utils": "^6.7.
|
|
37
|
+
"@typescript-eslint/utils": "^6.7.3",
|
|
38
38
|
"magic-string": "^0.30.3",
|
|
39
39
|
"synckit": "^0.8.5",
|
|
40
|
-
"@unocss/config": "0.56.
|
|
41
|
-
"@unocss/core": "0.56.
|
|
40
|
+
"@unocss/config": "0.56.3",
|
|
41
|
+
"@unocss/core": "0.56.3"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@unocss/eslint-plugin": "0.56.
|
|
44
|
+
"@unocss/eslint-plugin": "0.56.3"
|
|
45
45
|
},
|
|
46
46
|
"scripts": {
|
|
47
47
|
"build": "unbuild",
|