@markuplint/rules 4.6.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/index.d.ts +15 -15
- package/package.json +6 -6
package/lib/index.d.ts
CHANGED
|
@@ -16,38 +16,38 @@ declare const rules: {
|
|
|
16
16
|
readonly 'id-duplication': Readonly<import("@markuplint/ml-core").RuleSeed<import("@markuplint/ml-core").RuleConfigValue, undefined>>;
|
|
17
17
|
readonly 'ineffective-attr': Readonly<import("@markuplint/ml-core").RuleSeed<import("@markuplint/ml-core").RuleConfigValue, undefined>>;
|
|
18
18
|
readonly 'invalid-attr': Readonly<import("@markuplint/ml-core").RuleSeed<boolean, {
|
|
19
|
-
allowAttrs?:
|
|
19
|
+
allowAttrs?: Record<string, {
|
|
20
|
+
enum: [string, ...string[]];
|
|
21
|
+
} | {
|
|
22
|
+
pattern: string;
|
|
23
|
+
} | {
|
|
24
|
+
type: import("packages/@markuplint/ml-spec/lib/index.js").AttributeType;
|
|
25
|
+
}> | (string | {
|
|
20
26
|
name: string;
|
|
21
|
-
value: ({
|
|
27
|
+
value: import("packages/@markuplint/ml-spec/lib/index.js").AttributeType | ({
|
|
22
28
|
enum: [string, ...string[]];
|
|
23
29
|
} | {
|
|
24
30
|
pattern: string;
|
|
25
31
|
} | {
|
|
26
32
|
type: import("packages/@markuplint/ml-spec/lib/index.js").AttributeType;
|
|
27
|
-
})
|
|
28
|
-
})[] |
|
|
33
|
+
});
|
|
34
|
+
})[] | undefined;
|
|
35
|
+
disallowAttrs?: Record<string, {
|
|
29
36
|
enum: [string, ...string[]];
|
|
30
37
|
} | {
|
|
31
38
|
pattern: string;
|
|
32
39
|
} | {
|
|
33
40
|
type: import("packages/@markuplint/ml-spec/lib/index.js").AttributeType;
|
|
34
|
-
}> |
|
|
35
|
-
disallowAttrs?: (string | {
|
|
41
|
+
}> | (string | {
|
|
36
42
|
name: string;
|
|
37
|
-
value: ({
|
|
43
|
+
value: import("packages/@markuplint/ml-spec/lib/index.js").AttributeType | ({
|
|
38
44
|
enum: [string, ...string[]];
|
|
39
45
|
} | {
|
|
40
46
|
pattern: string;
|
|
41
47
|
} | {
|
|
42
48
|
type: import("packages/@markuplint/ml-spec/lib/index.js").AttributeType;
|
|
43
|
-
})
|
|
44
|
-
})[] |
|
|
45
|
-
enum: [string, ...string[]];
|
|
46
|
-
} | {
|
|
47
|
-
pattern: string;
|
|
48
|
-
} | {
|
|
49
|
-
type: import("packages/@markuplint/ml-spec/lib/index.js").AttributeType;
|
|
50
|
-
}> | undefined;
|
|
49
|
+
});
|
|
50
|
+
})[] | undefined;
|
|
51
51
|
ignoreAttrNamePrefix?: string | string[] | undefined;
|
|
52
52
|
allowToAddPropertiesForPretender?: boolean | undefined;
|
|
53
53
|
attrs?: Record<string, ({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@markuplint/rules",
|
|
3
|
-
"version": "4.6.
|
|
3
|
+
"version": "4.6.1",
|
|
4
4
|
"description": "Built-in rules of markuplint",
|
|
5
5
|
"repository": "git@github.com:markuplint/markuplint.git",
|
|
6
6
|
"author": "Yusuke Hirao <yusukehirao@me.com>",
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
"./lib/permitted-contents/debug.js": "./lib/permitted-contents/debug.browser.js"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@markuplint/html-spec": "4.6.
|
|
29
|
-
"@markuplint/ml-core": "4.6.
|
|
30
|
-
"@markuplint/ml-spec": "4.4.
|
|
31
|
-
"@markuplint/selector": "4.5.
|
|
28
|
+
"@markuplint/html-spec": "4.6.1",
|
|
29
|
+
"@markuplint/ml-core": "4.6.1",
|
|
30
|
+
"@markuplint/ml-spec": "4.4.1",
|
|
31
|
+
"@markuplint/selector": "4.5.1",
|
|
32
32
|
"@markuplint/shared": "4.2.0",
|
|
33
33
|
"@markuplint/types": "4.3.0",
|
|
34
34
|
"@types/debug": "4.1.12",
|
|
@@ -38,5 +38,5 @@
|
|
|
38
38
|
"debug": "4.3.4",
|
|
39
39
|
"type-fest": "4.15.0"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "b029c86a6b3a9ea8189d2e5535e3023aaea753fd"
|
|
42
42
|
}
|