@unocss/eslint-config 0.56.0 → 0.56.2

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 ADDED
@@ -0,0 +1,11 @@
1
+ 'use strict';
2
+
3
+ const plugin = require('@unocss/eslint-plugin');
4
+
5
+ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e.default : e; }
6
+
7
+ const plugin__default = /*#__PURE__*/_interopDefaultCompat(plugin);
8
+
9
+ const flat = plugin__default.configs.flat;
10
+
11
+ module.exports = flat;
@@ -0,0 +1,17 @@
1
+ declare const _default: {
2
+ plugin: {
3
+ unocss: {
4
+ rules: {
5
+ order: _typescript_eslint_utils_eslint_utils.RuleWithMeta<[], "">;
6
+ 'order-attributify': _typescript_eslint_utils_eslint_utils.RuleWithMeta<[], "">;
7
+ blocklist: _typescript_eslint_utils_eslint_utils.RuleWithMeta<[], "">;
8
+ };
9
+ };
10
+ };
11
+ rules: {
12
+ readonly 'unocss/order': "warn";
13
+ readonly 'unocss/order-attributify': "warn";
14
+ };
15
+ };
16
+
17
+ export { _default as default };
@@ -0,0 +1,17 @@
1
+ declare const _default: {
2
+ plugin: {
3
+ unocss: {
4
+ rules: {
5
+ order: _typescript_eslint_utils_eslint_utils.RuleWithMeta<[], "">;
6
+ 'order-attributify': _typescript_eslint_utils_eslint_utils.RuleWithMeta<[], "">;
7
+ blocklist: _typescript_eslint_utils_eslint_utils.RuleWithMeta<[], "">;
8
+ };
9
+ };
10
+ };
11
+ rules: {
12
+ readonly 'unocss/order': "warn";
13
+ readonly 'unocss/order-attributify': "warn";
14
+ };
15
+ };
16
+
17
+ export { _default as default };
package/dist/flat.d.ts ADDED
@@ -0,0 +1,17 @@
1
+ declare const _default: {
2
+ plugin: {
3
+ unocss: {
4
+ rules: {
5
+ order: _typescript_eslint_utils_eslint_utils.RuleWithMeta<[], "">;
6
+ 'order-attributify': _typescript_eslint_utils_eslint_utils.RuleWithMeta<[], "">;
7
+ blocklist: _typescript_eslint_utils_eslint_utils.RuleWithMeta<[], "">;
8
+ };
9
+ };
10
+ };
11
+ rules: {
12
+ readonly 'unocss/order': "warn";
13
+ readonly 'unocss/order-attributify': "warn";
14
+ };
15
+ };
16
+
17
+ export { _default as default };
package/dist/flat.mjs ADDED
@@ -0,0 +1,5 @@
1
+ import plugin from '@unocss/eslint-plugin';
2
+
3
+ const flat = plugin.configs.flat;
4
+
5
+ export { flat as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unocss/eslint-config",
3
- "version": "0.56.0",
3
+ "version": "0.56.2",
4
4
  "description": "ESLint config for UnoCSS",
5
5
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
6
6
  "license": "MIT",
@@ -24,6 +24,11 @@
24
24
  "types": "./dist/index.d.ts",
25
25
  "import": "./dist/index.mjs",
26
26
  "require": "./dist/index.cjs"
27
+ },
28
+ "./flat": {
29
+ "types": "./dist/flat.d.ts",
30
+ "import": "./dist/flat.mjs",
31
+ "require": "./dist/flat.cjs"
27
32
  }
28
33
  },
29
34
  "main": "dist/index.cjs",
@@ -36,7 +41,7 @@
36
41
  "node": ">=14"
37
42
  },
38
43
  "dependencies": {
39
- "@unocss/eslint-plugin": "0.56.0"
44
+ "@unocss/eslint-plugin": "0.56.2"
40
45
  },
41
46
  "scripts": {
42
47
  "build": "unbuild",