@markuplint/rules 4.0.0-alpha.2 → 4.0.0-alpha.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/lib/index.d.ts +15 -15
- package/package.json +8 -8
package/lib/index.d.ts
CHANGED
|
@@ -15,38 +15,38 @@ declare const rules: {
|
|
|
15
15
|
readonly 'id-duplication': Readonly<import("@markuplint/ml-core").RuleSeed<import("@markuplint/ml-core").RuleConfigValue, undefined>>;
|
|
16
16
|
readonly 'ineffective-attr': Readonly<import("@markuplint/ml-core").RuleSeed<import("@markuplint/ml-core").RuleConfigValue, undefined>>;
|
|
17
17
|
readonly 'invalid-attr': Readonly<import("@markuplint/ml-core").RuleSeed<boolean, {
|
|
18
|
-
allowAttrs?:
|
|
19
|
-
enum: [string, ...string[]];
|
|
20
|
-
} | {
|
|
21
|
-
pattern: string;
|
|
22
|
-
} | {
|
|
23
|
-
type: import("packages/@markuplint/ml-spec/lib/index.js").AttributeType;
|
|
24
|
-
}> | (string | {
|
|
18
|
+
allowAttrs?: (string | {
|
|
25
19
|
name: string;
|
|
26
|
-
value:
|
|
20
|
+
value: ({
|
|
27
21
|
enum: [string, ...string[]];
|
|
28
22
|
} | {
|
|
29
23
|
pattern: string;
|
|
30
24
|
} | {
|
|
31
25
|
type: import("packages/@markuplint/ml-spec/lib/index.js").AttributeType;
|
|
32
|
-
});
|
|
33
|
-
})[] |
|
|
34
|
-
disallowAttrs?: Record<string, {
|
|
26
|
+
}) | import("packages/@markuplint/ml-spec/lib/index.js").AttributeType;
|
|
27
|
+
})[] | Record<string, {
|
|
35
28
|
enum: [string, ...string[]];
|
|
36
29
|
} | {
|
|
37
30
|
pattern: string;
|
|
38
31
|
} | {
|
|
39
32
|
type: import("packages/@markuplint/ml-spec/lib/index.js").AttributeType;
|
|
40
|
-
}> |
|
|
33
|
+
}> | undefined;
|
|
34
|
+
disallowAttrs?: (string | {
|
|
41
35
|
name: string;
|
|
42
|
-
value:
|
|
36
|
+
value: ({
|
|
43
37
|
enum: [string, ...string[]];
|
|
44
38
|
} | {
|
|
45
39
|
pattern: string;
|
|
46
40
|
} | {
|
|
47
41
|
type: import("packages/@markuplint/ml-spec/lib/index.js").AttributeType;
|
|
48
|
-
});
|
|
49
|
-
})[] |
|
|
42
|
+
}) | import("packages/@markuplint/ml-spec/lib/index.js").AttributeType;
|
|
43
|
+
})[] | Record<string, {
|
|
44
|
+
enum: [string, ...string[]];
|
|
45
|
+
} | {
|
|
46
|
+
pattern: string;
|
|
47
|
+
} | {
|
|
48
|
+
type: import("packages/@markuplint/ml-spec/lib/index.js").AttributeType;
|
|
49
|
+
}> | undefined;
|
|
50
50
|
ignoreAttrNamePrefix?: string | string[] | undefined;
|
|
51
51
|
allowToAddPropertiesForPretender?: boolean | undefined;
|
|
52
52
|
attrs?: Record<string, ({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@markuplint/rules",
|
|
3
|
-
"version": "4.0.0-alpha.
|
|
3
|
+
"version": "4.0.0-alpha.3",
|
|
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,12 +25,12 @@
|
|
|
25
25
|
"./lib/permitted-contents/debug.js": "./lib/permitted-contents/debug.browser.js"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@markuplint/html-spec": "4.0.0-alpha.
|
|
29
|
-
"@markuplint/ml-core": "4.0.0-alpha.
|
|
30
|
-
"@markuplint/ml-spec": "4.0.0-alpha.
|
|
31
|
-
"@markuplint/selector": "4.0.0-alpha.
|
|
32
|
-
"@markuplint/shared": "4.0.0-alpha.
|
|
33
|
-
"@markuplint/types": "4.0.0-alpha.
|
|
28
|
+
"@markuplint/html-spec": "4.0.0-alpha.3",
|
|
29
|
+
"@markuplint/ml-core": "4.0.0-alpha.3",
|
|
30
|
+
"@markuplint/ml-spec": "4.0.0-alpha.3",
|
|
31
|
+
"@markuplint/selector": "4.0.0-alpha.3",
|
|
32
|
+
"@markuplint/shared": "4.0.0-alpha.3",
|
|
33
|
+
"@markuplint/types": "4.0.0-alpha.3",
|
|
34
34
|
"@types/debug": "^4.1.9",
|
|
35
35
|
"@ungap/structured-clone": "^1.2.0",
|
|
36
36
|
"ansi-colors": "^4.1.3",
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"tslib": "^2.6.2",
|
|
40
40
|
"type-fest": "^4.3.1"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "380836f7adc1ff7e8eaf9d869e68d29eee8f3b7e"
|
|
43
43
|
}
|