@unocss/eslint-plugin 66.5.10 → 66.5.11
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/dirs-DMLliOn8.cjs +13 -0
- package/dist/dirs-DTjbV7PE.mjs +7 -0
- package/dist/dirs.cjs +2 -7
- package/dist/dirs.d.cts +3 -2
- package/dist/dirs.d.mts +3 -2
- package/dist/dirs.mjs +2 -4
- package/dist/index.cjs +461 -554
- package/dist/index.d.cts +64 -37
- package/dist/index.d.mts +64 -37
- package/dist/index.mjs +430 -548
- package/dist/worker.d.mts +957 -0
- package/dist/worker.mjs +87 -105
- package/package.json +18 -12
- package/dist/dirs.d.ts +0 -3
- package/dist/index.d.ts +0 -45
package/dist/index.d.cts
CHANGED
|
@@ -1,45 +1,72 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _typescript_eslint_utils_ts_eslint0 from "@typescript-eslint/utils/ts-eslint";
|
|
2
2
|
|
|
3
|
+
//#region src/types.d.ts
|
|
3
4
|
declare module '@typescript-eslint/utils/ts-eslint' {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
interface SharedConfigurationSettings {
|
|
6
|
+
unocss?: {
|
|
7
|
+
configPath?: string;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
9
10
|
}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
rules: {
|
|
32
|
-
readonly 'unocss/order': "warn";
|
|
33
|
-
readonly 'unocss/order-attributify': "warn";
|
|
34
|
-
};
|
|
11
|
+
//#endregion
|
|
12
|
+
//#region src/index.d.ts
|
|
13
|
+
declare const configs: {
|
|
14
|
+
recommended: {
|
|
15
|
+
plugins: string[];
|
|
16
|
+
rules: {
|
|
17
|
+
readonly '@unocss/order': "warn";
|
|
18
|
+
readonly '@unocss/order-attributify': "warn";
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
flat: {
|
|
22
|
+
plugins: {
|
|
23
|
+
unocss: {
|
|
24
|
+
rules: {
|
|
25
|
+
order: _typescript_eslint_utils_ts_eslint0.AnyRuleModule;
|
|
26
|
+
'order-attributify': _typescript_eslint_utils_ts_eslint0.AnyRuleModule;
|
|
27
|
+
blocklist: _typescript_eslint_utils_ts_eslint0.AnyRuleModule;
|
|
28
|
+
'enforce-class-compile': _typescript_eslint_utils_ts_eslint0.AnyRuleModule;
|
|
35
29
|
};
|
|
30
|
+
};
|
|
36
31
|
};
|
|
37
32
|
rules: {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
blocklist: _typescript_eslint_utils_ts_eslint.AnyRuleModule;
|
|
41
|
-
'enforce-class-compile': _typescript_eslint_utils_ts_eslint.AnyRuleModule;
|
|
33
|
+
readonly 'unocss/order': "warn";
|
|
34
|
+
readonly 'unocss/order-attributify': "warn";
|
|
42
35
|
};
|
|
36
|
+
};
|
|
43
37
|
};
|
|
44
|
-
|
|
45
|
-
|
|
38
|
+
declare const _default: {
|
|
39
|
+
configs: {
|
|
40
|
+
recommended: {
|
|
41
|
+
plugins: string[];
|
|
42
|
+
rules: {
|
|
43
|
+
readonly '@unocss/order': "warn";
|
|
44
|
+
readonly '@unocss/order-attributify': "warn";
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
flat: {
|
|
48
|
+
plugins: {
|
|
49
|
+
unocss: {
|
|
50
|
+
rules: {
|
|
51
|
+
order: _typescript_eslint_utils_ts_eslint0.AnyRuleModule;
|
|
52
|
+
'order-attributify': _typescript_eslint_utils_ts_eslint0.AnyRuleModule;
|
|
53
|
+
blocklist: _typescript_eslint_utils_ts_eslint0.AnyRuleModule;
|
|
54
|
+
'enforce-class-compile': _typescript_eslint_utils_ts_eslint0.AnyRuleModule;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
rules: {
|
|
59
|
+
readonly 'unocss/order': "warn";
|
|
60
|
+
readonly 'unocss/order-attributify': "warn";
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
rules: {
|
|
65
|
+
order: _typescript_eslint_utils_ts_eslint0.AnyRuleModule;
|
|
66
|
+
'order-attributify': _typescript_eslint_utils_ts_eslint0.AnyRuleModule;
|
|
67
|
+
blocklist: _typescript_eslint_utils_ts_eslint0.AnyRuleModule;
|
|
68
|
+
'enforce-class-compile': _typescript_eslint_utils_ts_eslint0.AnyRuleModule;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
//#endregion
|
|
72
|
+
export { configs, _default as default };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,45 +1,72 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _typescript_eslint_utils_ts_eslint0 from "@typescript-eslint/utils/ts-eslint";
|
|
2
2
|
|
|
3
|
+
//#region src/types.d.ts
|
|
3
4
|
declare module '@typescript-eslint/utils/ts-eslint' {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
interface SharedConfigurationSettings {
|
|
6
|
+
unocss?: {
|
|
7
|
+
configPath?: string;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
9
10
|
}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
rules: {
|
|
32
|
-
readonly 'unocss/order': "warn";
|
|
33
|
-
readonly 'unocss/order-attributify': "warn";
|
|
34
|
-
};
|
|
11
|
+
//#endregion
|
|
12
|
+
//#region src/index.d.ts
|
|
13
|
+
declare const configs: {
|
|
14
|
+
recommended: {
|
|
15
|
+
plugins: string[];
|
|
16
|
+
rules: {
|
|
17
|
+
readonly '@unocss/order': "warn";
|
|
18
|
+
readonly '@unocss/order-attributify': "warn";
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
flat: {
|
|
22
|
+
plugins: {
|
|
23
|
+
unocss: {
|
|
24
|
+
rules: {
|
|
25
|
+
order: _typescript_eslint_utils_ts_eslint0.AnyRuleModule;
|
|
26
|
+
'order-attributify': _typescript_eslint_utils_ts_eslint0.AnyRuleModule;
|
|
27
|
+
blocklist: _typescript_eslint_utils_ts_eslint0.AnyRuleModule;
|
|
28
|
+
'enforce-class-compile': _typescript_eslint_utils_ts_eslint0.AnyRuleModule;
|
|
35
29
|
};
|
|
30
|
+
};
|
|
36
31
|
};
|
|
37
32
|
rules: {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
blocklist: _typescript_eslint_utils_ts_eslint.AnyRuleModule;
|
|
41
|
-
'enforce-class-compile': _typescript_eslint_utils_ts_eslint.AnyRuleModule;
|
|
33
|
+
readonly 'unocss/order': "warn";
|
|
34
|
+
readonly 'unocss/order-attributify': "warn";
|
|
42
35
|
};
|
|
36
|
+
};
|
|
43
37
|
};
|
|
44
|
-
|
|
45
|
-
|
|
38
|
+
declare const _default: {
|
|
39
|
+
configs: {
|
|
40
|
+
recommended: {
|
|
41
|
+
plugins: string[];
|
|
42
|
+
rules: {
|
|
43
|
+
readonly '@unocss/order': "warn";
|
|
44
|
+
readonly '@unocss/order-attributify': "warn";
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
flat: {
|
|
48
|
+
plugins: {
|
|
49
|
+
unocss: {
|
|
50
|
+
rules: {
|
|
51
|
+
order: _typescript_eslint_utils_ts_eslint0.AnyRuleModule;
|
|
52
|
+
'order-attributify': _typescript_eslint_utils_ts_eslint0.AnyRuleModule;
|
|
53
|
+
blocklist: _typescript_eslint_utils_ts_eslint0.AnyRuleModule;
|
|
54
|
+
'enforce-class-compile': _typescript_eslint_utils_ts_eslint0.AnyRuleModule;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
rules: {
|
|
59
|
+
readonly 'unocss/order': "warn";
|
|
60
|
+
readonly 'unocss/order-attributify': "warn";
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
rules: {
|
|
65
|
+
order: _typescript_eslint_utils_ts_eslint0.AnyRuleModule;
|
|
66
|
+
'order-attributify': _typescript_eslint_utils_ts_eslint0.AnyRuleModule;
|
|
67
|
+
blocklist: _typescript_eslint_utils_ts_eslint0.AnyRuleModule;
|
|
68
|
+
'enforce-class-compile': _typescript_eslint_utils_ts_eslint0.AnyRuleModule;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
//#endregion
|
|
72
|
+
export { configs, _default as default };
|