eslint-plugin-better-tailwindcss 4.5.0 → 4.6.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/lib/configs/config.d.ts +31 -2863
- package/lib/configs/config.d.ts.map +1 -1
- package/lib/configs/config.js +1 -0
- package/lib/configs/config.js.map +1 -1
- package/lib/options/descriptions.d.ts +201 -201
- package/lib/options/schemas/attributes.d.ts +34 -34
- package/lib/options/schemas/attributes.d.ts.map +1 -1
- package/lib/options/schemas/callees.d.ts +34 -34
- package/lib/options/schemas/callees.d.ts.map +1 -1
- package/lib/options/schemas/common.d.ts +14 -14
- package/lib/options/schemas/matchers.d.ts +8 -8
- package/lib/options/schemas/selectors.d.ts +447 -447
- package/lib/options/schemas/tags.d.ts +34 -34
- package/lib/options/schemas/tags.d.ts.map +1 -1
- package/lib/options/schemas/variables.d.ts +34 -34
- package/lib/options/schemas/variables.d.ts.map +1 -1
- package/lib/parsers/css.js +29 -1
- package/lib/parsers/css.js.map +1 -1
- package/lib/parsers/es.js.map +1 -1
- package/lib/rules/enforce-canonical-classes.d.ts +2 -205
- package/lib/rules/enforce-canonical-classes.d.ts.map +1 -1
- package/lib/rules/enforce-canonical-classes.js +4 -0
- package/lib/rules/enforce-canonical-classes.js.map +1 -1
- package/lib/rules/enforce-consistent-class-order.d.ts +3 -208
- package/lib/rules/enforce-consistent-class-order.d.ts.map +1 -1
- package/lib/rules/enforce-consistent-class-order.js +1 -14
- package/lib/rules/enforce-consistent-class-order.js.map +1 -1
- package/lib/rules/enforce-consistent-important-position.d.ts +2 -203
- package/lib/rules/enforce-consistent-important-position.d.ts.map +1 -1
- package/lib/rules/enforce-consistent-line-wrapping.d.ts +3 -211
- package/lib/rules/enforce-consistent-line-wrapping.d.ts.map +1 -1
- package/lib/rules/enforce-consistent-variable-syntax.d.ts +2 -203
- package/lib/rules/enforce-consistent-variable-syntax.d.ts.map +1 -1
- package/lib/rules/enforce-consistent-variant-order.d.ts +2 -203
- package/lib/rules/enforce-consistent-variant-order.d.ts.map +1 -1
- package/lib/rules/enforce-logical-properties.d.ts +3 -204
- package/lib/rules/enforce-logical-properties.d.ts.map +1 -1
- package/lib/rules/enforce-logical-properties.js +10 -0
- package/lib/rules/enforce-logical-properties.js.map +1 -1
- package/lib/rules/enforce-shorthand-classes.d.ts +2 -203
- package/lib/rules/enforce-shorthand-classes.d.ts.map +1 -1
- package/lib/rules/no-conflicting-classes.d.ts +2 -203
- package/lib/rules/no-conflicting-classes.d.ts.map +1 -1
- package/lib/rules/no-deprecated-classes.d.ts +2 -203
- package/lib/rules/no-deprecated-classes.d.ts.map +1 -1
- package/lib/rules/no-deprecated-classes.js.map +1 -1
- package/lib/rules/no-duplicate-classes.d.ts +2 -203
- package/lib/rules/no-duplicate-classes.d.ts.map +1 -1
- package/lib/rules/no-restricted-classes.d.ts +2 -207
- package/lib/rules/no-restricted-classes.d.ts.map +1 -1
- package/lib/rules/no-unknown-classes.d.ts +2 -203
- package/lib/rules/no-unknown-classes.d.ts.map +1 -1
- package/lib/rules/no-unnecessary-whitespace.d.ts +2 -203
- package/lib/rules/no-unnecessary-whitespace.d.ts.map +1 -1
- package/lib/types/ast.d.ts +1 -0
- package/lib/types/ast.d.ts.map +1 -1
- package/lib/types/rule.d.ts +6 -6
- package/lib/types/rule.d.ts.map +1 -1
- package/lib/utils/matchers.d.ts.map +1 -1
- package/lib/utils/matchers.js +19 -12
- package/lib/utils/matchers.js.map +1 -1
- package/lib/utils/rule.d.ts +2 -8
- package/lib/utils/rule.d.ts.map +1 -1
- package/lib/utils/rule.js +1 -1
- package/lib/utils/rule.js.map +1 -1
- package/package.json +39 -35
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import type { InferOutput } from "valibot";
|
|
2
|
-
export declare const ATTRIBUTE_MATCHER_CONFIG: import("valibot").SchemaWithPipe<readonly [import("valibot").TupleSchema<[import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").DescriptionAction<string, "Attribute name for which children get linted if matched.">]>, import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").StrictObjectSchema<{
|
|
3
|
-
readonly match: import("valibot").SchemaWithPipe<readonly [import("valibot").LiteralSchema<import("../../types/rule.js").MatcherType.String, undefined>, import("valibot").DescriptionAction<import("../../types/rule.js").MatcherType.String, "Matcher type that will be applied.">]>;
|
|
4
|
-
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
5
|
-
readonly match: import("valibot").SchemaWithPipe<readonly [import("valibot").LiteralSchema<import("../../types/rule.js").MatcherType.ObjectKey, undefined>, import("valibot").DescriptionAction<import("../../types/rule.js").MatcherType.ObjectKey, "Matcher type that will be applied.">]>;
|
|
6
|
-
readonly pathPattern: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").DescriptionAction<string, "Regular expression that filters the object key and matches the content for further processing in a group.">]>, undefined>;
|
|
7
|
-
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
8
|
-
readonly match: import("valibot").SchemaWithPipe<readonly [import("valibot").LiteralSchema<import("../../types/rule.js").MatcherType.ObjectValue, undefined>, import("valibot").DescriptionAction<import("../../types/rule.js").MatcherType.ObjectValue, "Matcher type that will be applied.">]>;
|
|
9
|
-
readonly pathPattern: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").DescriptionAction<string, "Regular expression that filters the object value and matches the content for further processing in a group.">]>, undefined>;
|
|
10
|
-
}, undefined>], undefined>, undefined>, import("valibot").DescriptionAction<({
|
|
2
|
+
export declare const ATTRIBUTE_MATCHER_CONFIG: import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").TupleSchema<[import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").StringSchema<undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<string, "Attribute name for which children get linted if matched.">]>, import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").ArraySchema<import("node_modules/valibot/dist/index.mjs").UnionSchema<[import("node_modules/valibot/dist/index.mjs").StrictObjectSchema<{
|
|
3
|
+
readonly match: import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").LiteralSchema<import("../../types/rule.js").MatcherType.String, undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<import("../../types/rule.js").MatcherType.String, "Matcher type that will be applied.">]>;
|
|
4
|
+
}, undefined>, import("node_modules/valibot/dist/index.mjs").StrictObjectSchema<{
|
|
5
|
+
readonly match: import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").LiteralSchema<import("../../types/rule.js").MatcherType.ObjectKey, undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<import("../../types/rule.js").MatcherType.ObjectKey, "Matcher type that will be applied.">]>;
|
|
6
|
+
readonly pathPattern: import("node_modules/valibot/dist/index.mjs").OptionalSchema<import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").StringSchema<undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<string, "Regular expression that filters the object key and matches the content for further processing in a group.">]>, undefined>;
|
|
7
|
+
}, undefined>, import("node_modules/valibot/dist/index.mjs").StrictObjectSchema<{
|
|
8
|
+
readonly match: import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").LiteralSchema<import("../../types/rule.js").MatcherType.ObjectValue, undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<import("../../types/rule.js").MatcherType.ObjectValue, "Matcher type that will be applied.">]>;
|
|
9
|
+
readonly pathPattern: import("node_modules/valibot/dist/index.mjs").OptionalSchema<import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").StringSchema<undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<string, "Regular expression that filters the object value and matches the content for further processing in a group.">]>, undefined>;
|
|
10
|
+
}, undefined>], undefined>, undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<({
|
|
11
11
|
match: import("../../types/rule.js").MatcherType.String;
|
|
12
12
|
} | {
|
|
13
13
|
match: import("../../types/rule.js").MatcherType.ObjectKey;
|
|
@@ -15,7 +15,7 @@ export declare const ATTRIBUTE_MATCHER_CONFIG: import("valibot").SchemaWithPipe<
|
|
|
15
15
|
} | {
|
|
16
16
|
match: import("../../types/rule.js").MatcherType.ObjectValue;
|
|
17
17
|
pathPattern?: string | undefined;
|
|
18
|
-
})[], "List of matchers that will be applied.">]>], undefined>, import("valibot").DescriptionAction<[string, ({
|
|
18
|
+
})[], "List of matchers that will be applied.">]>], undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<[string, ({
|
|
19
19
|
match: import("../../types/rule.js").MatcherType.String;
|
|
20
20
|
} | {
|
|
21
21
|
match: import("../../types/rule.js").MatcherType.ObjectKey;
|
|
@@ -25,17 +25,17 @@ export declare const ATTRIBUTE_MATCHER_CONFIG: import("valibot").SchemaWithPipe<
|
|
|
25
25
|
pathPattern?: string | undefined;
|
|
26
26
|
})[]], "List of matchers that will automatically be matched.">]>;
|
|
27
27
|
export type AttributeMatchers = InferOutput<typeof ATTRIBUTE_MATCHER_CONFIG>;
|
|
28
|
-
export declare const ATTRIBUTE_NAME_CONFIG: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").DescriptionAction<string, "Attribute name that for which children get linted.">]>;
|
|
28
|
+
export declare const ATTRIBUTE_NAME_CONFIG: import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").StringSchema<undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<string, "Attribute name that for which children get linted.">]>;
|
|
29
29
|
export type AttributeName = InferOutput<typeof ATTRIBUTE_NAME_CONFIG>;
|
|
30
|
-
export declare const ATTRIBUTES_SCHEMA: import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").DescriptionAction<string, "Attribute name that for which children get linted.">]>, import("valibot").SchemaWithPipe<readonly [import("valibot").TupleSchema<[import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").DescriptionAction<string, "Attribute name for which children get linted if matched.">]>, import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").StrictObjectSchema<{
|
|
31
|
-
readonly match: import("valibot").SchemaWithPipe<readonly [import("valibot").LiteralSchema<import("../../types/rule.js").MatcherType.String, undefined>, import("valibot").DescriptionAction<import("../../types/rule.js").MatcherType.String, "Matcher type that will be applied.">]>;
|
|
32
|
-
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
33
|
-
readonly match: import("valibot").SchemaWithPipe<readonly [import("valibot").LiteralSchema<import("../../types/rule.js").MatcherType.ObjectKey, undefined>, import("valibot").DescriptionAction<import("../../types/rule.js").MatcherType.ObjectKey, "Matcher type that will be applied.">]>;
|
|
34
|
-
readonly pathPattern: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").DescriptionAction<string, "Regular expression that filters the object key and matches the content for further processing in a group.">]>, undefined>;
|
|
35
|
-
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
36
|
-
readonly match: import("valibot").SchemaWithPipe<readonly [import("valibot").LiteralSchema<import("../../types/rule.js").MatcherType.ObjectValue, undefined>, import("valibot").DescriptionAction<import("../../types/rule.js").MatcherType.ObjectValue, "Matcher type that will be applied.">]>;
|
|
37
|
-
readonly pathPattern: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").DescriptionAction<string, "Regular expression that filters the object value and matches the content for further processing in a group.">]>, undefined>;
|
|
38
|
-
}, undefined>], undefined>, undefined>, import("valibot").DescriptionAction<({
|
|
30
|
+
export declare const ATTRIBUTES_SCHEMA: import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").ArraySchema<import("node_modules/valibot/dist/index.mjs").UnionSchema<[import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").StringSchema<undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<string, "Attribute name that for which children get linted.">]>, import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").TupleSchema<[import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").StringSchema<undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<string, "Attribute name for which children get linted if matched.">]>, import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").ArraySchema<import("node_modules/valibot/dist/index.mjs").UnionSchema<[import("node_modules/valibot/dist/index.mjs").StrictObjectSchema<{
|
|
31
|
+
readonly match: import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").LiteralSchema<import("../../types/rule.js").MatcherType.String, undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<import("../../types/rule.js").MatcherType.String, "Matcher type that will be applied.">]>;
|
|
32
|
+
}, undefined>, import("node_modules/valibot/dist/index.mjs").StrictObjectSchema<{
|
|
33
|
+
readonly match: import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").LiteralSchema<import("../../types/rule.js").MatcherType.ObjectKey, undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<import("../../types/rule.js").MatcherType.ObjectKey, "Matcher type that will be applied.">]>;
|
|
34
|
+
readonly pathPattern: import("node_modules/valibot/dist/index.mjs").OptionalSchema<import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").StringSchema<undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<string, "Regular expression that filters the object key and matches the content for further processing in a group.">]>, undefined>;
|
|
35
|
+
}, undefined>, import("node_modules/valibot/dist/index.mjs").StrictObjectSchema<{
|
|
36
|
+
readonly match: import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").LiteralSchema<import("../../types/rule.js").MatcherType.ObjectValue, undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<import("../../types/rule.js").MatcherType.ObjectValue, "Matcher type that will be applied.">]>;
|
|
37
|
+
readonly pathPattern: import("node_modules/valibot/dist/index.mjs").OptionalSchema<import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").StringSchema<undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<string, "Regular expression that filters the object value and matches the content for further processing in a group.">]>, undefined>;
|
|
38
|
+
}, undefined>], undefined>, undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<({
|
|
39
39
|
match: import("../../types/rule.js").MatcherType.String;
|
|
40
40
|
} | {
|
|
41
41
|
match: import("../../types/rule.js").MatcherType.ObjectKey;
|
|
@@ -43,7 +43,7 @@ export declare const ATTRIBUTES_SCHEMA: import("valibot").SchemaWithPipe<readonl
|
|
|
43
43
|
} | {
|
|
44
44
|
match: import("../../types/rule.js").MatcherType.ObjectValue;
|
|
45
45
|
pathPattern?: string | undefined;
|
|
46
|
-
})[], "List of matchers that will be applied.">]>], undefined>, import("valibot").DescriptionAction<[string, ({
|
|
46
|
+
})[], "List of matchers that will be applied.">]>], undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<[string, ({
|
|
47
47
|
match: import("../../types/rule.js").MatcherType.String;
|
|
48
48
|
} | {
|
|
49
49
|
match: import("../../types/rule.js").MatcherType.ObjectKey;
|
|
@@ -51,7 +51,7 @@ export declare const ATTRIBUTES_SCHEMA: import("valibot").SchemaWithPipe<readonl
|
|
|
51
51
|
} | {
|
|
52
52
|
match: import("../../types/rule.js").MatcherType.ObjectValue;
|
|
53
53
|
pathPattern?: string | undefined;
|
|
54
|
-
})[]], "List of matchers that will automatically be matched.">]>], undefined>, undefined>, import("valibot").DescriptionAction<(string | [string, ({
|
|
54
|
+
})[]], "List of matchers that will automatically be matched.">]>], undefined>, undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<(string | [string, ({
|
|
55
55
|
match: import("../../types/rule.js").MatcherType.String;
|
|
56
56
|
} | {
|
|
57
57
|
match: import("../../types/rule.js").MatcherType.ObjectKey;
|
|
@@ -61,16 +61,16 @@ export declare const ATTRIBUTES_SCHEMA: import("valibot").SchemaWithPipe<readonl
|
|
|
61
61
|
pathPattern?: string | undefined;
|
|
62
62
|
})[]])[], "List of attribute names that should get linted.">]>;
|
|
63
63
|
export type Attributes = InferOutput<typeof ATTRIBUTES_SCHEMA>;
|
|
64
|
-
export declare const ATTRIBUTES_OPTION_SCHEMA: import("valibot").StrictObjectSchema<{
|
|
65
|
-
readonly attributes: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").DescriptionAction<string, "Attribute name that for which children get linted.">]>, import("valibot").SchemaWithPipe<readonly [import("valibot").TupleSchema<[import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").DescriptionAction<string, "Attribute name for which children get linted if matched.">]>, import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").StrictObjectSchema<{
|
|
66
|
-
readonly match: import("valibot").SchemaWithPipe<readonly [import("valibot").LiteralSchema<import("../../types/rule.js").MatcherType.String, undefined>, import("valibot").DescriptionAction<import("../../types/rule.js").MatcherType.String, "Matcher type that will be applied.">]>;
|
|
67
|
-
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
68
|
-
readonly match: import("valibot").SchemaWithPipe<readonly [import("valibot").LiteralSchema<import("../../types/rule.js").MatcherType.ObjectKey, undefined>, import("valibot").DescriptionAction<import("../../types/rule.js").MatcherType.ObjectKey, "Matcher type that will be applied.">]>;
|
|
69
|
-
readonly pathPattern: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").DescriptionAction<string, "Regular expression that filters the object key and matches the content for further processing in a group.">]>, undefined>;
|
|
70
|
-
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
71
|
-
readonly match: import("valibot").SchemaWithPipe<readonly [import("valibot").LiteralSchema<import("../../types/rule.js").MatcherType.ObjectValue, undefined>, import("valibot").DescriptionAction<import("../../types/rule.js").MatcherType.ObjectValue, "Matcher type that will be applied.">]>;
|
|
72
|
-
readonly pathPattern: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").DescriptionAction<string, "Regular expression that filters the object value and matches the content for further processing in a group.">]>, undefined>;
|
|
73
|
-
}, undefined>], undefined>, undefined>, import("valibot").DescriptionAction<({
|
|
64
|
+
export declare const ATTRIBUTES_OPTION_SCHEMA: import("node_modules/valibot/dist/index.mjs").StrictObjectSchema<{
|
|
65
|
+
readonly attributes: import("node_modules/valibot/dist/index.mjs").OptionalSchema<import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").ArraySchema<import("node_modules/valibot/dist/index.mjs").UnionSchema<[import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").StringSchema<undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<string, "Attribute name that for which children get linted.">]>, import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").TupleSchema<[import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").StringSchema<undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<string, "Attribute name for which children get linted if matched.">]>, import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").ArraySchema<import("node_modules/valibot/dist/index.mjs").UnionSchema<[import("node_modules/valibot/dist/index.mjs").StrictObjectSchema<{
|
|
66
|
+
readonly match: import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").LiteralSchema<import("../../types/rule.js").MatcherType.String, undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<import("../../types/rule.js").MatcherType.String, "Matcher type that will be applied.">]>;
|
|
67
|
+
}, undefined>, import("node_modules/valibot/dist/index.mjs").StrictObjectSchema<{
|
|
68
|
+
readonly match: import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").LiteralSchema<import("../../types/rule.js").MatcherType.ObjectKey, undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<import("../../types/rule.js").MatcherType.ObjectKey, "Matcher type that will be applied.">]>;
|
|
69
|
+
readonly pathPattern: import("node_modules/valibot/dist/index.mjs").OptionalSchema<import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").StringSchema<undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<string, "Regular expression that filters the object key and matches the content for further processing in a group.">]>, undefined>;
|
|
70
|
+
}, undefined>, import("node_modules/valibot/dist/index.mjs").StrictObjectSchema<{
|
|
71
|
+
readonly match: import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").LiteralSchema<import("../../types/rule.js").MatcherType.ObjectValue, undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<import("../../types/rule.js").MatcherType.ObjectValue, "Matcher type that will be applied.">]>;
|
|
72
|
+
readonly pathPattern: import("node_modules/valibot/dist/index.mjs").OptionalSchema<import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").StringSchema<undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<string, "Regular expression that filters the object value and matches the content for further processing in a group.">]>, undefined>;
|
|
73
|
+
}, undefined>], undefined>, undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<({
|
|
74
74
|
match: import("../../types/rule.js").MatcherType.String;
|
|
75
75
|
} | {
|
|
76
76
|
match: import("../../types/rule.js").MatcherType.ObjectKey;
|
|
@@ -78,7 +78,7 @@ export declare const ATTRIBUTES_OPTION_SCHEMA: import("valibot").StrictObjectSch
|
|
|
78
78
|
} | {
|
|
79
79
|
match: import("../../types/rule.js").MatcherType.ObjectValue;
|
|
80
80
|
pathPattern?: string | undefined;
|
|
81
|
-
})[], "List of matchers that will be applied.">]>], undefined>, import("valibot").DescriptionAction<[string, ({
|
|
81
|
+
})[], "List of matchers that will be applied.">]>], undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<[string, ({
|
|
82
82
|
match: import("../../types/rule.js").MatcherType.String;
|
|
83
83
|
} | {
|
|
84
84
|
match: import("../../types/rule.js").MatcherType.ObjectKey;
|
|
@@ -86,7 +86,7 @@ export declare const ATTRIBUTES_OPTION_SCHEMA: import("valibot").StrictObjectSch
|
|
|
86
86
|
} | {
|
|
87
87
|
match: import("../../types/rule.js").MatcherType.ObjectValue;
|
|
88
88
|
pathPattern?: string | undefined;
|
|
89
|
-
})[]], "List of matchers that will automatically be matched.">]>], undefined>, undefined>, import("valibot").DescriptionAction<(string | [string, ({
|
|
89
|
+
})[]], "List of matchers that will automatically be matched.">]>], undefined>, undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<(string | [string, ({
|
|
90
90
|
match: import("../../types/rule.js").MatcherType.String;
|
|
91
91
|
} | {
|
|
92
92
|
match: import("../../types/rule.js").MatcherType.ObjectKey;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"attributes.d.ts","sourceRoot":"","sources":["../../../src/options/schemas/attributes.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAG3C,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;gEAkBpC,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,WAAW,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE7E,eAAO,MAAM,qBAAqB,
|
|
1
|
+
{"version":3,"file":"attributes.d.ts","sourceRoot":"","sources":["../../../src/options/schemas/attributes.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAG3C,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;gEAkBpC,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,WAAW,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE7E,eAAO,MAAM,qBAAqB,+QAGjC,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,WAAW,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEtE,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8DAQ7B,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG,WAAW,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE/D,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAEnC,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,WAAW,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import type { InferOutput } from "valibot";
|
|
2
|
-
declare const CALLEE_MATCHER_SCHEMA: import("valibot").SchemaWithPipe<readonly [import("valibot").TupleSchema<[import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").DescriptionAction<string, "Callee name for which children get linted if matched.">]>, import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").StrictObjectSchema<{
|
|
3
|
-
readonly match: import("valibot").SchemaWithPipe<readonly [import("valibot").LiteralSchema<import("../../types/rule.js").MatcherType.String, undefined>, import("valibot").DescriptionAction<import("../../types/rule.js").MatcherType.String, "Matcher type that will be applied.">]>;
|
|
4
|
-
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
5
|
-
readonly match: import("valibot").SchemaWithPipe<readonly [import("valibot").LiteralSchema<import("../../types/rule.js").MatcherType.ObjectKey, undefined>, import("valibot").DescriptionAction<import("../../types/rule.js").MatcherType.ObjectKey, "Matcher type that will be applied.">]>;
|
|
6
|
-
readonly pathPattern: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").DescriptionAction<string, "Regular expression that filters the object key and matches the content for further processing in a group.">]>, undefined>;
|
|
7
|
-
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
8
|
-
readonly match: import("valibot").SchemaWithPipe<readonly [import("valibot").LiteralSchema<import("../../types/rule.js").MatcherType.ObjectValue, undefined>, import("valibot").DescriptionAction<import("../../types/rule.js").MatcherType.ObjectValue, "Matcher type that will be applied.">]>;
|
|
9
|
-
readonly pathPattern: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").DescriptionAction<string, "Regular expression that filters the object value and matches the content for further processing in a group.">]>, undefined>;
|
|
10
|
-
}, undefined>], undefined>, undefined>, import("valibot").DescriptionAction<({
|
|
2
|
+
declare const CALLEE_MATCHER_SCHEMA: import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").TupleSchema<[import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").StringSchema<undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<string, "Callee name for which children get linted if matched.">]>, import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").ArraySchema<import("node_modules/valibot/dist/index.mjs").UnionSchema<[import("node_modules/valibot/dist/index.mjs").StrictObjectSchema<{
|
|
3
|
+
readonly match: import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").LiteralSchema<import("../../types/rule.js").MatcherType.String, undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<import("../../types/rule.js").MatcherType.String, "Matcher type that will be applied.">]>;
|
|
4
|
+
}, undefined>, import("node_modules/valibot/dist/index.mjs").StrictObjectSchema<{
|
|
5
|
+
readonly match: import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").LiteralSchema<import("../../types/rule.js").MatcherType.ObjectKey, undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<import("../../types/rule.js").MatcherType.ObjectKey, "Matcher type that will be applied.">]>;
|
|
6
|
+
readonly pathPattern: import("node_modules/valibot/dist/index.mjs").OptionalSchema<import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").StringSchema<undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<string, "Regular expression that filters the object key and matches the content for further processing in a group.">]>, undefined>;
|
|
7
|
+
}, undefined>, import("node_modules/valibot/dist/index.mjs").StrictObjectSchema<{
|
|
8
|
+
readonly match: import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").LiteralSchema<import("../../types/rule.js").MatcherType.ObjectValue, undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<import("../../types/rule.js").MatcherType.ObjectValue, "Matcher type that will be applied.">]>;
|
|
9
|
+
readonly pathPattern: import("node_modules/valibot/dist/index.mjs").OptionalSchema<import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").StringSchema<undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<string, "Regular expression that filters the object value and matches the content for further processing in a group.">]>, undefined>;
|
|
10
|
+
}, undefined>], undefined>, undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<({
|
|
11
11
|
match: import("../../types/rule.js").MatcherType.String;
|
|
12
12
|
} | {
|
|
13
13
|
match: import("../../types/rule.js").MatcherType.ObjectKey;
|
|
@@ -15,7 +15,7 @@ declare const CALLEE_MATCHER_SCHEMA: import("valibot").SchemaWithPipe<readonly [
|
|
|
15
15
|
} | {
|
|
16
16
|
match: import("../../types/rule.js").MatcherType.ObjectValue;
|
|
17
17
|
pathPattern?: string | undefined;
|
|
18
|
-
})[], "List of matchers that will be applied.">]>], undefined>, import("valibot").DescriptionAction<[string, ({
|
|
18
|
+
})[], "List of matchers that will be applied.">]>], undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<[string, ({
|
|
19
19
|
match: import("../../types/rule.js").MatcherType.String;
|
|
20
20
|
} | {
|
|
21
21
|
match: import("../../types/rule.js").MatcherType.ObjectKey;
|
|
@@ -25,17 +25,17 @@ declare const CALLEE_MATCHER_SCHEMA: import("valibot").SchemaWithPipe<readonly [
|
|
|
25
25
|
pathPattern?: string | undefined;
|
|
26
26
|
})[]], "List of matchers that will automatically be matched.">]>;
|
|
27
27
|
export type CalleeMatchers = InferOutput<typeof CALLEE_MATCHER_SCHEMA>;
|
|
28
|
-
declare const CALLEE_NAME_SCHEMA: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").DescriptionAction<string, "Callee name for which children get linted.">]>;
|
|
28
|
+
declare const CALLEE_NAME_SCHEMA: import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").StringSchema<undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<string, "Callee name for which children get linted.">]>;
|
|
29
29
|
export type CalleeName = InferOutput<typeof CALLEE_NAME_SCHEMA>;
|
|
30
|
-
export declare const CALLEES_SCHEMA: import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").SchemaWithPipe<readonly [import("valibot").TupleSchema<[import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").DescriptionAction<string, "Callee name for which children get linted if matched.">]>, import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").StrictObjectSchema<{
|
|
31
|
-
readonly match: import("valibot").SchemaWithPipe<readonly [import("valibot").LiteralSchema<import("../../types/rule.js").MatcherType.String, undefined>, import("valibot").DescriptionAction<import("../../types/rule.js").MatcherType.String, "Matcher type that will be applied.">]>;
|
|
32
|
-
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
33
|
-
readonly match: import("valibot").SchemaWithPipe<readonly [import("valibot").LiteralSchema<import("../../types/rule.js").MatcherType.ObjectKey, undefined>, import("valibot").DescriptionAction<import("../../types/rule.js").MatcherType.ObjectKey, "Matcher type that will be applied.">]>;
|
|
34
|
-
readonly pathPattern: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").DescriptionAction<string, "Regular expression that filters the object key and matches the content for further processing in a group.">]>, undefined>;
|
|
35
|
-
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
36
|
-
readonly match: import("valibot").SchemaWithPipe<readonly [import("valibot").LiteralSchema<import("../../types/rule.js").MatcherType.ObjectValue, undefined>, import("valibot").DescriptionAction<import("../../types/rule.js").MatcherType.ObjectValue, "Matcher type that will be applied.">]>;
|
|
37
|
-
readonly pathPattern: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").DescriptionAction<string, "Regular expression that filters the object value and matches the content for further processing in a group.">]>, undefined>;
|
|
38
|
-
}, undefined>], undefined>, undefined>, import("valibot").DescriptionAction<({
|
|
30
|
+
export declare const CALLEES_SCHEMA: import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").ArraySchema<import("node_modules/valibot/dist/index.mjs").UnionSchema<[import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").TupleSchema<[import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").StringSchema<undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<string, "Callee name for which children get linted if matched.">]>, import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").ArraySchema<import("node_modules/valibot/dist/index.mjs").UnionSchema<[import("node_modules/valibot/dist/index.mjs").StrictObjectSchema<{
|
|
31
|
+
readonly match: import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").LiteralSchema<import("../../types/rule.js").MatcherType.String, undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<import("../../types/rule.js").MatcherType.String, "Matcher type that will be applied.">]>;
|
|
32
|
+
}, undefined>, import("node_modules/valibot/dist/index.mjs").StrictObjectSchema<{
|
|
33
|
+
readonly match: import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").LiteralSchema<import("../../types/rule.js").MatcherType.ObjectKey, undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<import("../../types/rule.js").MatcherType.ObjectKey, "Matcher type that will be applied.">]>;
|
|
34
|
+
readonly pathPattern: import("node_modules/valibot/dist/index.mjs").OptionalSchema<import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").StringSchema<undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<string, "Regular expression that filters the object key and matches the content for further processing in a group.">]>, undefined>;
|
|
35
|
+
}, undefined>, import("node_modules/valibot/dist/index.mjs").StrictObjectSchema<{
|
|
36
|
+
readonly match: import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").LiteralSchema<import("../../types/rule.js").MatcherType.ObjectValue, undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<import("../../types/rule.js").MatcherType.ObjectValue, "Matcher type that will be applied.">]>;
|
|
37
|
+
readonly pathPattern: import("node_modules/valibot/dist/index.mjs").OptionalSchema<import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").StringSchema<undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<string, "Regular expression that filters the object value and matches the content for further processing in a group.">]>, undefined>;
|
|
38
|
+
}, undefined>], undefined>, undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<({
|
|
39
39
|
match: import("../../types/rule.js").MatcherType.String;
|
|
40
40
|
} | {
|
|
41
41
|
match: import("../../types/rule.js").MatcherType.ObjectKey;
|
|
@@ -43,7 +43,7 @@ export declare const CALLEES_SCHEMA: import("valibot").SchemaWithPipe<readonly [
|
|
|
43
43
|
} | {
|
|
44
44
|
match: import("../../types/rule.js").MatcherType.ObjectValue;
|
|
45
45
|
pathPattern?: string | undefined;
|
|
46
|
-
})[], "List of matchers that will be applied.">]>], undefined>, import("valibot").DescriptionAction<[string, ({
|
|
46
|
+
})[], "List of matchers that will be applied.">]>], undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<[string, ({
|
|
47
47
|
match: import("../../types/rule.js").MatcherType.String;
|
|
48
48
|
} | {
|
|
49
49
|
match: import("../../types/rule.js").MatcherType.ObjectKey;
|
|
@@ -51,7 +51,7 @@ export declare const CALLEES_SCHEMA: import("valibot").SchemaWithPipe<readonly [
|
|
|
51
51
|
} | {
|
|
52
52
|
match: import("../../types/rule.js").MatcherType.ObjectValue;
|
|
53
53
|
pathPattern?: string | undefined;
|
|
54
|
-
})[]], "List of matchers that will automatically be matched.">]>, import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").DescriptionAction<string, "Callee name for which children get linted.">]>], undefined>, undefined>, import("valibot").DescriptionAction<(string | [string, ({
|
|
54
|
+
})[]], "List of matchers that will automatically be matched.">]>, import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").StringSchema<undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<string, "Callee name for which children get linted.">]>], undefined>, undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<(string | [string, ({
|
|
55
55
|
match: import("../../types/rule.js").MatcherType.String;
|
|
56
56
|
} | {
|
|
57
57
|
match: import("../../types/rule.js").MatcherType.ObjectKey;
|
|
@@ -61,16 +61,16 @@ export declare const CALLEES_SCHEMA: import("valibot").SchemaWithPipe<readonly [
|
|
|
61
61
|
pathPattern?: string | undefined;
|
|
62
62
|
})[]])[], "List of function names which arguments should get linted.">]>;
|
|
63
63
|
export type Callees = InferOutput<typeof CALLEES_SCHEMA>;
|
|
64
|
-
export declare const CALLEES_OPTION_SCHEMA: import("valibot").StrictObjectSchema<{
|
|
65
|
-
readonly callees: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").SchemaWithPipe<readonly [import("valibot").TupleSchema<[import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").DescriptionAction<string, "Callee name for which children get linted if matched.">]>, import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").StrictObjectSchema<{
|
|
66
|
-
readonly match: import("valibot").SchemaWithPipe<readonly [import("valibot").LiteralSchema<import("../../types/rule.js").MatcherType.String, undefined>, import("valibot").DescriptionAction<import("../../types/rule.js").MatcherType.String, "Matcher type that will be applied.">]>;
|
|
67
|
-
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
68
|
-
readonly match: import("valibot").SchemaWithPipe<readonly [import("valibot").LiteralSchema<import("../../types/rule.js").MatcherType.ObjectKey, undefined>, import("valibot").DescriptionAction<import("../../types/rule.js").MatcherType.ObjectKey, "Matcher type that will be applied.">]>;
|
|
69
|
-
readonly pathPattern: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").DescriptionAction<string, "Regular expression that filters the object key and matches the content for further processing in a group.">]>, undefined>;
|
|
70
|
-
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
71
|
-
readonly match: import("valibot").SchemaWithPipe<readonly [import("valibot").LiteralSchema<import("../../types/rule.js").MatcherType.ObjectValue, undefined>, import("valibot").DescriptionAction<import("../../types/rule.js").MatcherType.ObjectValue, "Matcher type that will be applied.">]>;
|
|
72
|
-
readonly pathPattern: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").DescriptionAction<string, "Regular expression that filters the object value and matches the content for further processing in a group.">]>, undefined>;
|
|
73
|
-
}, undefined>], undefined>, undefined>, import("valibot").DescriptionAction<({
|
|
64
|
+
export declare const CALLEES_OPTION_SCHEMA: import("node_modules/valibot/dist/index.mjs").StrictObjectSchema<{
|
|
65
|
+
readonly callees: import("node_modules/valibot/dist/index.mjs").OptionalSchema<import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").ArraySchema<import("node_modules/valibot/dist/index.mjs").UnionSchema<[import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").TupleSchema<[import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").StringSchema<undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<string, "Callee name for which children get linted if matched.">]>, import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").ArraySchema<import("node_modules/valibot/dist/index.mjs").UnionSchema<[import("node_modules/valibot/dist/index.mjs").StrictObjectSchema<{
|
|
66
|
+
readonly match: import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").LiteralSchema<import("../../types/rule.js").MatcherType.String, undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<import("../../types/rule.js").MatcherType.String, "Matcher type that will be applied.">]>;
|
|
67
|
+
}, undefined>, import("node_modules/valibot/dist/index.mjs").StrictObjectSchema<{
|
|
68
|
+
readonly match: import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").LiteralSchema<import("../../types/rule.js").MatcherType.ObjectKey, undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<import("../../types/rule.js").MatcherType.ObjectKey, "Matcher type that will be applied.">]>;
|
|
69
|
+
readonly pathPattern: import("node_modules/valibot/dist/index.mjs").OptionalSchema<import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").StringSchema<undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<string, "Regular expression that filters the object key and matches the content for further processing in a group.">]>, undefined>;
|
|
70
|
+
}, undefined>, import("node_modules/valibot/dist/index.mjs").StrictObjectSchema<{
|
|
71
|
+
readonly match: import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").LiteralSchema<import("../../types/rule.js").MatcherType.ObjectValue, undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<import("../../types/rule.js").MatcherType.ObjectValue, "Matcher type that will be applied.">]>;
|
|
72
|
+
readonly pathPattern: import("node_modules/valibot/dist/index.mjs").OptionalSchema<import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").StringSchema<undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<string, "Regular expression that filters the object value and matches the content for further processing in a group.">]>, undefined>;
|
|
73
|
+
}, undefined>], undefined>, undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<({
|
|
74
74
|
match: import("../../types/rule.js").MatcherType.String;
|
|
75
75
|
} | {
|
|
76
76
|
match: import("../../types/rule.js").MatcherType.ObjectKey;
|
|
@@ -78,7 +78,7 @@ export declare const CALLEES_OPTION_SCHEMA: import("valibot").StrictObjectSchema
|
|
|
78
78
|
} | {
|
|
79
79
|
match: import("../../types/rule.js").MatcherType.ObjectValue;
|
|
80
80
|
pathPattern?: string | undefined;
|
|
81
|
-
})[], "List of matchers that will be applied.">]>], undefined>, import("valibot").DescriptionAction<[string, ({
|
|
81
|
+
})[], "List of matchers that will be applied.">]>], undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<[string, ({
|
|
82
82
|
match: import("../../types/rule.js").MatcherType.String;
|
|
83
83
|
} | {
|
|
84
84
|
match: import("../../types/rule.js").MatcherType.ObjectKey;
|
|
@@ -86,7 +86,7 @@ export declare const CALLEES_OPTION_SCHEMA: import("valibot").StrictObjectSchema
|
|
|
86
86
|
} | {
|
|
87
87
|
match: import("../../types/rule.js").MatcherType.ObjectValue;
|
|
88
88
|
pathPattern?: string | undefined;
|
|
89
|
-
})[]], "List of matchers that will automatically be matched.">]>, import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").DescriptionAction<string, "Callee name for which children get linted.">]>], undefined>, undefined>, import("valibot").DescriptionAction<(string | [string, ({
|
|
89
|
+
})[]], "List of matchers that will automatically be matched.">]>, import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").StringSchema<undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<string, "Callee name for which children get linted.">]>], undefined>, undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<(string | [string, ({
|
|
90
90
|
match: import("../../types/rule.js").MatcherType.String;
|
|
91
91
|
} | {
|
|
92
92
|
match: import("../../types/rule.js").MatcherType.ObjectKey;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"callees.d.ts","sourceRoot":"","sources":["../../../src/options/schemas/callees.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAG3C,QAAA,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;gEAkB1B,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,WAAW,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEvE,QAAA,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"callees.d.ts","sourceRoot":"","sources":["../../../src/options/schemas/callees.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAG3C,QAAA,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;gEAkB1B,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,WAAW,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEvE,QAAA,MAAM,kBAAkB,uQAGvB,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG,WAAW,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAEhE,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wEAQ1B,CAAC;AAEF,MAAM,MAAM,OAAO,GAAG,WAAW,CAAC,OAAO,cAAc,CAAC,CAAC;AAEzD,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAEhC,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,WAAW,CAAC,OAAO,qBAAqB,CAAC,CAAC"}
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import type { InferOutput } from "valibot";
|
|
2
|
-
export declare const ENTRYPOINT_OPTION_SCHEMA: import("valibot").StrictObjectSchema<{
|
|
3
|
-
readonly entryPoint: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").DescriptionAction<string, "The path to the css entry point of the project. If not specified, the plugin will fall back to the default tailwind classes.">]>, undefined>;
|
|
2
|
+
export declare const ENTRYPOINT_OPTION_SCHEMA: import("node_modules/valibot/dist/index.mjs").StrictObjectSchema<{
|
|
3
|
+
readonly entryPoint: import("node_modules/valibot/dist/index.mjs").OptionalSchema<import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").StringSchema<undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<string, "The path to the css entry point of the project. If not specified, the plugin will fall back to the default tailwind classes.">]>, undefined>;
|
|
4
4
|
}, undefined>;
|
|
5
5
|
export type EntryPointOption = InferOutput<typeof ENTRYPOINT_OPTION_SCHEMA>;
|
|
6
|
-
export declare const TAILWIND_OPTION_SCHEMA: import("valibot").StrictObjectSchema<{
|
|
7
|
-
readonly tailwindConfig: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").DescriptionAction<string, "The path to the tailwind config file. If not specified, the plugin will try to find it automatically or falls back to the default configuration.">]>, undefined>;
|
|
6
|
+
export declare const TAILWIND_OPTION_SCHEMA: import("node_modules/valibot/dist/index.mjs").StrictObjectSchema<{
|
|
7
|
+
readonly tailwindConfig: import("node_modules/valibot/dist/index.mjs").OptionalSchema<import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").StringSchema<undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<string, "The path to the tailwind config file. If not specified, the plugin will try to find it automatically or falls back to the default configuration.">]>, undefined>;
|
|
8
8
|
}, undefined>;
|
|
9
9
|
export type TailwindConfigOption = InferOutput<typeof TAILWIND_OPTION_SCHEMA>;
|
|
10
|
-
export declare const TSCONFIG_OPTION_SCHEMA: import("valibot").StrictObjectSchema<{
|
|
11
|
-
readonly tsconfig: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").DescriptionAction<string, "The path to the tsconfig file. Is used to resolve path aliases in the tsconfig.">]>, undefined>;
|
|
10
|
+
export declare const TSCONFIG_OPTION_SCHEMA: import("node_modules/valibot/dist/index.mjs").StrictObjectSchema<{
|
|
11
|
+
readonly tsconfig: import("node_modules/valibot/dist/index.mjs").OptionalSchema<import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").StringSchema<undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<string, "The path to the tsconfig file. Is used to resolve path aliases in the tsconfig.">]>, undefined>;
|
|
12
12
|
}, undefined>;
|
|
13
13
|
export type TSConfigOption = InferOutput<typeof TSCONFIG_OPTION_SCHEMA>;
|
|
14
|
-
export declare const MESSAGE_STYLE_OPTION_SCHEMA: import("valibot").StrictObjectSchema<{
|
|
15
|
-
readonly messageStyle: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").UnionSchema<[import("valibot").LiteralSchema<"visual", undefined>, import("valibot").LiteralSchema<"compact", undefined>, import("valibot").LiteralSchema<"raw", undefined>], undefined>, import("valibot").DescriptionAction<"visual" | "compact" | "raw", "How linting messages are displayed.">]>, "visual" | "compact">;
|
|
14
|
+
export declare const MESSAGE_STYLE_OPTION_SCHEMA: import("node_modules/valibot/dist/index.mjs").StrictObjectSchema<{
|
|
15
|
+
readonly messageStyle: import("node_modules/valibot/dist/index.mjs").OptionalSchema<import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").UnionSchema<[import("node_modules/valibot/dist/index.mjs").LiteralSchema<"visual", undefined>, import("node_modules/valibot/dist/index.mjs").LiteralSchema<"compact", undefined>, import("node_modules/valibot/dist/index.mjs").LiteralSchema<"raw", undefined>], undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<"visual" | "compact" | "raw", "How linting messages are displayed.">]>, "visual" | "compact">;
|
|
16
16
|
}, undefined>;
|
|
17
17
|
export type MessageStyleOption = InferOutput<typeof MESSAGE_STYLE_OPTION_SCHEMA>;
|
|
18
|
-
export declare const DETECT_COMPONENT_CLASSES_OPTION_SCHEMA: import("valibot").StrictObjectSchema<{
|
|
19
|
-
readonly detectComponentClasses: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").BooleanSchema<undefined>, import("valibot").DescriptionAction<boolean, "Whether to automatically detect custom component classes from the tailwindcss config.">]>, false>;
|
|
18
|
+
export declare const DETECT_COMPONENT_CLASSES_OPTION_SCHEMA: import("node_modules/valibot/dist/index.mjs").StrictObjectSchema<{
|
|
19
|
+
readonly detectComponentClasses: import("node_modules/valibot/dist/index.mjs").OptionalSchema<import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").BooleanSchema<undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<boolean, "Whether to automatically detect custom component classes from the tailwindcss config.">]>, false>;
|
|
20
20
|
}, undefined>;
|
|
21
21
|
export type DetectComponentClassesOption = InferOutput<typeof DETECT_COMPONENT_CLASSES_OPTION_SCHEMA>;
|
|
22
|
-
export declare const ROOT_FONT_SIZE_OPTION_SCHEMA: import("valibot").StrictObjectSchema<{
|
|
23
|
-
readonly rootFontSize: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").DescriptionAction<number, "The root font size in pixels.">]>, undefined>;
|
|
22
|
+
export declare const ROOT_FONT_SIZE_OPTION_SCHEMA: import("node_modules/valibot/dist/index.mjs").StrictObjectSchema<{
|
|
23
|
+
readonly rootFontSize: import("node_modules/valibot/dist/index.mjs").OptionalSchema<import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").NumberSchema<undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<number, "The root font size in pixels.">]>, undefined>;
|
|
24
24
|
}, undefined>;
|
|
25
25
|
export type RootFontSizeOption = InferOutput<typeof ROOT_FONT_SIZE_OPTION_SCHEMA>;
|
|
26
|
-
export declare const CWD_OPTION_SCHEMA: import("valibot").StrictObjectSchema<{
|
|
27
|
-
readonly cwd: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").DescriptionAction<string, "The working directory to resolve tailwindcss and the config from. Useful in monorepo setups.">]>, undefined>;
|
|
26
|
+
export declare const CWD_OPTION_SCHEMA: import("node_modules/valibot/dist/index.mjs").StrictObjectSchema<{
|
|
27
|
+
readonly cwd: import("node_modules/valibot/dist/index.mjs").OptionalSchema<import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").StringSchema<undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<string, "The working directory to resolve tailwindcss and the config from. Useful in monorepo setups.">]>, undefined>;
|
|
28
28
|
}, undefined>;
|
|
29
29
|
export type CwdOption = InferOutput<typeof CWD_OPTION_SCHEMA>;
|
|
30
30
|
//# sourceMappingURL=common.d.ts.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { MatcherType } from "../../types/rule.js";
|
|
2
|
-
export declare const STRING_MATCHER_SCHEMA: import("valibot").StrictObjectSchema<{
|
|
3
|
-
readonly match: import("valibot").SchemaWithPipe<readonly [import("valibot").LiteralSchema<MatcherType.String, undefined>, import("valibot").DescriptionAction<MatcherType.String, "Matcher type that will be applied.">]>;
|
|
2
|
+
export declare const STRING_MATCHER_SCHEMA: import("node_modules/valibot/dist/index.mjs").StrictObjectSchema<{
|
|
3
|
+
readonly match: import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").LiteralSchema<MatcherType.String, undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<MatcherType.String, "Matcher type that will be applied.">]>;
|
|
4
4
|
}, undefined>;
|
|
5
|
-
export declare const OBJECT_KEY_MATCHER_SCHEMA: import("valibot").StrictObjectSchema<{
|
|
6
|
-
readonly match: import("valibot").SchemaWithPipe<readonly [import("valibot").LiteralSchema<MatcherType.ObjectKey, undefined>, import("valibot").DescriptionAction<MatcherType.ObjectKey, "Matcher type that will be applied.">]>;
|
|
7
|
-
readonly pathPattern: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").DescriptionAction<string, "Regular expression that filters the object key and matches the content for further processing in a group.">]>, undefined>;
|
|
5
|
+
export declare const OBJECT_KEY_MATCHER_SCHEMA: import("node_modules/valibot/dist/index.mjs").StrictObjectSchema<{
|
|
6
|
+
readonly match: import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").LiteralSchema<MatcherType.ObjectKey, undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<MatcherType.ObjectKey, "Matcher type that will be applied.">]>;
|
|
7
|
+
readonly pathPattern: import("node_modules/valibot/dist/index.mjs").OptionalSchema<import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").StringSchema<undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<string, "Regular expression that filters the object key and matches the content for further processing in a group.">]>, undefined>;
|
|
8
8
|
}, undefined>;
|
|
9
|
-
export declare const OBJECT_VALUE_MATCHER_SCHEMA: import("valibot").StrictObjectSchema<{
|
|
10
|
-
readonly match: import("valibot").SchemaWithPipe<readonly [import("valibot").LiteralSchema<MatcherType.ObjectValue, undefined>, import("valibot").DescriptionAction<MatcherType.ObjectValue, "Matcher type that will be applied.">]>;
|
|
11
|
-
readonly pathPattern: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").DescriptionAction<string, "Regular expression that filters the object value and matches the content for further processing in a group.">]>, undefined>;
|
|
9
|
+
export declare const OBJECT_VALUE_MATCHER_SCHEMA: import("node_modules/valibot/dist/index.mjs").StrictObjectSchema<{
|
|
10
|
+
readonly match: import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").LiteralSchema<MatcherType.ObjectValue, undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<MatcherType.ObjectValue, "Matcher type that will be applied.">]>;
|
|
11
|
+
readonly pathPattern: import("node_modules/valibot/dist/index.mjs").OptionalSchema<import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").StringSchema<undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<string, "Regular expression that filters the object value and matches the content for further processing in a group.">]>, undefined>;
|
|
12
12
|
}, undefined>;
|
|
13
13
|
//# sourceMappingURL=matchers.d.ts.map
|