@unocss/eslint-config 66.6.6 → 66.6.7

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/flat.cjs CHANGED
@@ -1,4 +1,4 @@
1
- //#region rolldown:runtime
1
+ //#region \0rolldown/runtime.js
2
2
  var __create = Object.create;
3
3
  var __defProp = Object.defineProperty;
4
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -6,16 +6,12 @@ var __getOwnPropNames = Object.getOwnPropertyNames;
6
6
  var __getProtoOf = Object.getPrototypeOf;
7
7
  var __hasOwnProp = Object.prototype.hasOwnProperty;
8
8
  var __copyProps = (to, from, except, desc) => {
9
- if (from && typeof from === "object" || typeof from === "function") {
10
- for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
11
- key = keys[i];
12
- if (!__hasOwnProp.call(to, key) && key !== except) {
13
- __defProp(to, key, {
14
- get: ((k) => from[k]).bind(null, key),
15
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
16
- });
17
- }
18
- }
9
+ if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
10
+ key = keys[i];
11
+ if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
12
+ get: ((k) => from[k]).bind(null, key),
13
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
14
+ });
19
15
  }
20
16
  return to;
21
17
  };
@@ -23,13 +19,10 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
23
19
  value: mod,
24
20
  enumerable: true
25
21
  }) : target, mod));
26
-
27
22
  //#endregion
28
23
  let _unocss_eslint_plugin = require("@unocss/eslint-plugin");
29
24
  _unocss_eslint_plugin = __toESM(_unocss_eslint_plugin);
30
-
31
25
  //#region src/flat.ts
32
26
  var flat_default = _unocss_eslint_plugin.default.configs.flat;
33
-
34
27
  //#endregion
35
- module.exports = flat_default;
28
+ module.exports = flat_default;
package/dist/flat.d.cts CHANGED
@@ -1,20 +1,5 @@
1
- import * as _typescript_eslint_utils_ts_eslint0 from "@typescript-eslint/utils/ts-eslint";
1
+ import * as _unocss_eslint_plugin0 from "@unocss/eslint-plugin";
2
2
 
3
3
  //#region src/flat.d.ts
4
- declare const _default: {
5
- plugins: {
6
- unocss: {
7
- rules: {
8
- order: _typescript_eslint_utils_ts_eslint0.AnyRuleModule;
9
- "order-attributify": _typescript_eslint_utils_ts_eslint0.AnyRuleModule;
10
- blocklist: _typescript_eslint_utils_ts_eslint0.AnyRuleModule;
11
- "enforce-class-compile": _typescript_eslint_utils_ts_eslint0.AnyRuleModule;
12
- };
13
- };
14
- };
15
- rules: {
16
- readonly "unocss/order": "warn";
17
- readonly "unocss/order-attributify": "warn";
18
- };
19
- };
4
+ declare const _default: _unocss_eslint_plugin0.UnoCSSEslintFlatConfig;
20
5
  export = _default;
package/dist/flat.d.mts CHANGED
@@ -1,21 +1,6 @@
1
- import * as _typescript_eslint_utils_ts_eslint0 from "@typescript-eslint/utils/ts-eslint";
1
+ import * as _unocss_eslint_plugin0 from "@unocss/eslint-plugin";
2
2
 
3
3
  //#region src/flat.d.ts
4
- declare const _default: {
5
- plugins: {
6
- unocss: {
7
- rules: {
8
- order: _typescript_eslint_utils_ts_eslint0.AnyRuleModule;
9
- "order-attributify": _typescript_eslint_utils_ts_eslint0.AnyRuleModule;
10
- blocklist: _typescript_eslint_utils_ts_eslint0.AnyRuleModule;
11
- "enforce-class-compile": _typescript_eslint_utils_ts_eslint0.AnyRuleModule;
12
- };
13
- };
14
- };
15
- rules: {
16
- readonly "unocss/order": "warn";
17
- readonly "unocss/order-attributify": "warn";
18
- };
19
- };
4
+ declare const _default: _unocss_eslint_plugin0.UnoCSSEslintFlatConfig;
20
5
  //#endregion
21
6
  export { _default as default };
package/dist/flat.mjs CHANGED
@@ -1,7 +1,5 @@
1
1
  import plugin from "@unocss/eslint-plugin";
2
-
3
2
  //#region src/flat.ts
4
3
  var flat_default = plugin.configs.flat;
5
-
6
4
  //#endregion
7
- export { flat_default as default };
5
+ export { flat_default as default };
package/dist/index.cjs CHANGED
@@ -1,6 +1,4 @@
1
-
2
1
  //#region src/index.ts
3
2
  var src_default = { extends: ["plugin:@unocss/recommended"] };
4
-
5
3
  //#endregion
6
- module.exports = src_default;
4
+ module.exports = src_default;
package/dist/index.mjs CHANGED
@@ -1,5 +1,4 @@
1
1
  //#region src/index.ts
2
2
  var src_default = { extends: ["plugin:@unocss/recommended"] };
3
-
4
3
  //#endregion
5
- export { src_default as default };
4
+ export { src_default as default };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@unocss/eslint-config",
3
3
  "type": "module",
4
- "version": "66.6.6",
4
+ "version": "66.6.7",
5
5
  "description": "ESLint config for UnoCSS",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -22,12 +22,12 @@
22
22
  "sideEffects": false,
23
23
  "exports": {
24
24
  ".": {
25
- "require": "./dist/index.cjs",
26
- "import": "./dist/index.mjs"
25
+ "import": "./dist/index.mjs",
26
+ "require": "./dist/index.cjs"
27
27
  },
28
28
  "./flat": {
29
- "require": "./dist/flat.cjs",
30
- "import": "./dist/flat.mjs"
29
+ "import": "./dist/flat.mjs",
30
+ "require": "./dist/flat.cjs"
31
31
  },
32
32
  "./package.json": "./package.json"
33
33
  },
@@ -49,7 +49,7 @@
49
49
  "node": ">=14"
50
50
  },
51
51
  "dependencies": {
52
- "@unocss/eslint-plugin": "66.6.6"
52
+ "@unocss/eslint-plugin": "66.6.7"
53
53
  },
54
54
  "scripts": {
55
55
  "build": "tsdown",