@unocss/eslint-plugin 0.56.0 → 0.56.1
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.d.cts +3 -0
- package/dist/dirs.d.mts +3 -0
- package/dist/dirs.d.ts +3 -0
- package/dist/index.d.cts +20 -0
- package/dist/index.d.mts +20 -0
- package/dist/index.d.ts +20 -0
- package/dist/worker.d.cts +7 -0
- package/dist/worker.d.mts +7 -0
- package/dist/worker.d.ts +7 -0
- package/package.json +4 -4
package/dist/dirs.d.cts
ADDED
package/dist/dirs.d.mts
ADDED
package/dist/dirs.d.ts
ADDED
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as _typescript_eslint_utils_eslint_utils from '@typescript-eslint/utils/eslint-utils';
|
|
2
|
+
|
|
3
|
+
declare const _default: {
|
|
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
|
+
configs: {
|
|
10
|
+
recommended: {
|
|
11
|
+
plugins: string[];
|
|
12
|
+
rules: {
|
|
13
|
+
'@unocss/order': string;
|
|
14
|
+
'@unocss/order-attributify': string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export { _default as default };
|
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as _typescript_eslint_utils_eslint_utils from '@typescript-eslint/utils/eslint-utils';
|
|
2
|
+
|
|
3
|
+
declare const _default: {
|
|
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
|
+
configs: {
|
|
10
|
+
recommended: {
|
|
11
|
+
plugins: string[];
|
|
12
|
+
rules: {
|
|
13
|
+
'@unocss/order': string;
|
|
14
|
+
'@unocss/order-attributify': string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export { _default as default };
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as _typescript_eslint_utils_eslint_utils from '@typescript-eslint/utils/eslint-utils';
|
|
2
|
+
|
|
3
|
+
declare const _default: {
|
|
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
|
+
configs: {
|
|
10
|
+
recommended: {
|
|
11
|
+
plugins: string[];
|
|
12
|
+
rules: {
|
|
13
|
+
'@unocss/order': string;
|
|
14
|
+
'@unocss/order-attributify': string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export { _default as default };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { UnoGenerator } from '@unocss/core';
|
|
2
|
+
|
|
3
|
+
declare function getGenerator(): Promise<UnoGenerator<any>>;
|
|
4
|
+
declare function run(action: 'sort', classes: string): string;
|
|
5
|
+
declare function run(action: 'blocklist', classes: string, id?: string): string[];
|
|
6
|
+
|
|
7
|
+
export { getGenerator, run };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { UnoGenerator } from '@unocss/core';
|
|
2
|
+
|
|
3
|
+
declare function getGenerator(): Promise<UnoGenerator<any>>;
|
|
4
|
+
declare function run(action: 'sort', classes: string): string;
|
|
5
|
+
declare function run(action: 'blocklist', classes: string, id?: string): string[];
|
|
6
|
+
|
|
7
|
+
export { getGenerator, run };
|
package/dist/worker.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { UnoGenerator } from '@unocss/core';
|
|
2
|
+
|
|
3
|
+
declare function getGenerator(): Promise<UnoGenerator<any>>;
|
|
4
|
+
declare function run(action: 'sort', classes: string): string;
|
|
5
|
+
declare function run(action: 'blocklist', classes: string, id?: string): string[];
|
|
6
|
+
|
|
7
|
+
export { getGenerator, run };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/eslint-plugin",
|
|
3
|
-
"version": "0.56.
|
|
3
|
+
"version": "0.56.1",
|
|
4
4
|
"description": "ESLint plugin for UnoCSS",
|
|
5
5
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -37,11 +37,11 @@
|
|
|
37
37
|
"@typescript-eslint/utils": "^6.7.2",
|
|
38
38
|
"magic-string": "^0.30.3",
|
|
39
39
|
"synckit": "^0.8.5",
|
|
40
|
-
"@unocss/config": "0.56.
|
|
41
|
-
"@unocss/core": "0.56.
|
|
40
|
+
"@unocss/config": "0.56.1",
|
|
41
|
+
"@unocss/core": "0.56.1"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@unocss/eslint-plugin": "0.56.
|
|
44
|
+
"@unocss/eslint-plugin": "0.56.1"
|
|
45
45
|
},
|
|
46
46
|
"scripts": {
|
|
47
47
|
"build": "unbuild",
|