@unocss/eslint-plugin 0.56.2 → 0.56.4

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 CHANGED
@@ -230,7 +230,7 @@ const plugin = {
230
230
  };
231
231
 
232
232
  const configsFlat = {
233
- plugin: {
233
+ plugins: {
234
234
  unocss: plugin
235
235
  },
236
236
  rules: {
package/dist/index.d.cts CHANGED
@@ -10,7 +10,7 @@ declare const _default: {
10
10
  };
11
11
  };
12
12
  flat: {
13
- plugin: {
13
+ plugins: {
14
14
  unocss: {
15
15
  rules: {
16
16
  order: _typescript_eslint_utils_eslint_utils.RuleWithMeta<[], "">;
package/dist/index.d.mts CHANGED
@@ -10,7 +10,7 @@ declare const _default: {
10
10
  };
11
11
  };
12
12
  flat: {
13
- plugin: {
13
+ plugins: {
14
14
  unocss: {
15
15
  rules: {
16
16
  order: _typescript_eslint_utils_eslint_utils.RuleWithMeta<[], "">;
package/dist/index.d.ts CHANGED
@@ -10,7 +10,7 @@ declare const _default: {
10
10
  };
11
11
  };
12
12
  flat: {
13
- plugin: {
13
+ plugins: {
14
14
  unocss: {
15
15
  rules: {
16
16
  order: _typescript_eslint_utils_eslint_utils.RuleWithMeta<[], "">;
package/dist/index.mjs CHANGED
@@ -224,7 +224,7 @@ const plugin = {
224
224
  };
225
225
 
226
226
  const configsFlat = {
227
- plugin: {
227
+ plugins: {
228
228
  unocss: plugin
229
229
  },
230
230
  rules: {
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(config$1);
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(config);
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.2",
3
+ "version": "0.56.4",
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.2",
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.2",
41
- "@unocss/core": "0.56.2"
40
+ "@unocss/config": "0.56.4",
41
+ "@unocss/core": "0.56.4"
42
42
  },
43
43
  "devDependencies": {
44
- "@unocss/eslint-plugin": "0.56.2"
44
+ "@unocss/eslint-plugin": "0.56.4"
45
45
  },
46
46
  "scripts": {
47
47
  "build": "unbuild",