@unocss/eslint-plugin 0.54.1 → 0.54.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 CHANGED
@@ -22,7 +22,7 @@ const order = utils.ESLintUtils.RuleCreator((name) => name)({
22
22
  fixable: "code",
23
23
  docs: {
24
24
  description: "Order of UnoCSS utilities in class attribute",
25
- recommended: "warn"
25
+ recommended: "recommended"
26
26
  },
27
27
  messages: {
28
28
  "invalid-order": "UnoCSS utilities are not ordered"
@@ -88,7 +88,7 @@ const orderAttributify = utils.ESLintUtils.RuleCreator((name) => name)({
88
88
  fixable: "code",
89
89
  docs: {
90
90
  description: "Order of UnoCSS attributes",
91
- recommended: false
91
+ recommended: "recommended"
92
92
  },
93
93
  messages: {
94
94
  "invalid-order": "UnoCSS attributes are not ordered"
package/dist/index.mjs CHANGED
@@ -16,7 +16,7 @@ const order = ESLintUtils.RuleCreator((name) => name)({
16
16
  fixable: "code",
17
17
  docs: {
18
18
  description: "Order of UnoCSS utilities in class attribute",
19
- recommended: "warn"
19
+ recommended: "recommended"
20
20
  },
21
21
  messages: {
22
22
  "invalid-order": "UnoCSS utilities are not ordered"
@@ -82,7 +82,7 @@ const orderAttributify = ESLintUtils.RuleCreator((name) => name)({
82
82
  fixable: "code",
83
83
  docs: {
84
84
  description: "Order of UnoCSS attributes",
85
- recommended: false
85
+ recommended: "recommended"
86
86
  },
87
87
  messages: {
88
88
  "invalid-order": "UnoCSS attributes are not ordered"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unocss/eslint-plugin",
3
- "version": "0.54.1",
3
+ "version": "0.54.3",
4
4
  "description": "ESLint plugin for UnoCSS",
5
5
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
6
6
  "license": "MIT",
@@ -21,14 +21,12 @@
21
21
  "sideEffects": false,
22
22
  "exports": {
23
23
  ".": {
24
- "types": "./dist/index.d.ts",
25
- "require": "./dist/index.cjs",
26
- "import": "./dist/index.mjs"
24
+ "import": "./dist/index.mjs",
25
+ "require": "./dist/index.cjs"
27
26
  }
28
27
  },
29
28
  "main": "dist/index.cjs",
30
29
  "module": "dist/index.mjs",
31
- "types": "dist/index.d.ts",
32
30
  "files": [
33
31
  "dist"
34
32
  ],
@@ -36,17 +34,18 @@
36
34
  "node": ">=14"
37
35
  },
38
36
  "dependencies": {
39
- "@typescript-eslint/utils": "^5.61.0",
37
+ "@typescript-eslint/utils": "^6.2.1",
40
38
  "magic-string": "^0.30.2",
41
39
  "synckit": "^0.8.5",
42
- "@unocss/config": "0.54.1",
43
- "@unocss/core": "0.54.1"
40
+ "@unocss/config": "0.54.3",
41
+ "@unocss/core": "0.54.3"
44
42
  },
45
43
  "devDependencies": {
46
- "@unocss/eslint-plugin": "0.54.1"
44
+ "@unocss/eslint-plugin": "0.54.3"
47
45
  },
48
46
  "scripts": {
49
47
  "build": "unbuild",
48
+ "typecheck": "tsc --noEmit",
50
49
  "lint": "nr build && cd ./fixtures && eslint ./src"
51
50
  }
52
51
  }
package/dist/dirs.d.ts DELETED
@@ -1,3 +0,0 @@
1
- declare const distDir: string;
2
-
3
- export { distDir };
package/dist/index.d.ts DELETED
@@ -1,19 +0,0 @@
1
- import * as _typescript_eslint_utils_dist_ts_eslint_Rule from '@typescript-eslint/utils/dist/ts-eslint/Rule';
2
-
3
- declare const _default: {
4
- rules: {
5
- order: _typescript_eslint_utils_dist_ts_eslint_Rule.RuleModule<"invalid-order", never[], any>;
6
- 'order-attributify': _typescript_eslint_utils_dist_ts_eslint_Rule.RuleModule<"invalid-order", never[], any>;
7
- };
8
- configs: {
9
- recommended: {
10
- plugins: string[];
11
- rules: {
12
- '@unocss/order': string;
13
- '@unocss/order-attributify': string;
14
- };
15
- };
16
- };
17
- };
18
-
19
- export { _default as default };
@@ -1 +0,0 @@
1
-