@markuplint/ml-core 4.0.0-alpha.7 → 4.0.0-alpha.8
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/ml-rule/types.d.ts +3 -0
- package/package.json +11 -11
package/lib/ml-rule/types.d.ts
CHANGED
|
@@ -3,6 +3,9 @@ import type { Attr, Element } from '../ml-dom/index.js';
|
|
|
3
3
|
import type { Translator } from '@markuplint/i18n';
|
|
4
4
|
import type { PlainData, Report, RuleConfigValue, Severity } from '@markuplint/ml-config';
|
|
5
5
|
export type RuleSeed<T extends RuleConfigValue = boolean, O extends PlainData = undefined> = {
|
|
6
|
+
readonly meta?: {
|
|
7
|
+
readonly category?: 'validation' | 'style' | 'naming-convention' | 'a11y' | 'maintainability';
|
|
8
|
+
};
|
|
6
9
|
readonly defaultSeverity?: Severity;
|
|
7
10
|
readonly defaultValue?: T;
|
|
8
11
|
readonly defaultOptions?: O;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@markuplint/ml-core",
|
|
3
|
-
"version": "4.0.0-alpha.
|
|
3
|
+
"version": "4.0.0-alpha.8",
|
|
4
4
|
"description": "The core module of markuplint",
|
|
5
5
|
"repository": "git@github.com:markuplint/markuplint.git",
|
|
6
6
|
"author": "Yusuke Hirao <yusukehirao@me.com>",
|
|
@@ -28,19 +28,19 @@
|
|
|
28
28
|
"./lib/configs.js": "./lib/configs.browser.js"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@markuplint/config-presets": "4.0.0-alpha.
|
|
32
|
-
"@markuplint/html-parser": "4.0.0-alpha.
|
|
33
|
-
"@markuplint/html-spec": "4.0.0-alpha.
|
|
34
|
-
"@markuplint/i18n": "4.0.0-alpha.
|
|
35
|
-
"@markuplint/ml-ast": "4.0.0-alpha.
|
|
36
|
-
"@markuplint/ml-config": "4.0.0-alpha.
|
|
37
|
-
"@markuplint/ml-spec": "4.0.0-alpha.
|
|
38
|
-
"@markuplint/parser-utils": "4.0.0-alpha.
|
|
39
|
-
"@markuplint/selector": "4.0.0-alpha.
|
|
31
|
+
"@markuplint/config-presets": "4.0.0-alpha.8",
|
|
32
|
+
"@markuplint/html-parser": "4.0.0-alpha.8",
|
|
33
|
+
"@markuplint/html-spec": "4.0.0-alpha.8",
|
|
34
|
+
"@markuplint/i18n": "4.0.0-alpha.8",
|
|
35
|
+
"@markuplint/ml-ast": "4.0.0-alpha.8",
|
|
36
|
+
"@markuplint/ml-config": "4.0.0-alpha.8",
|
|
37
|
+
"@markuplint/ml-spec": "4.0.0-alpha.8",
|
|
38
|
+
"@markuplint/parser-utils": "4.0.0-alpha.8",
|
|
39
|
+
"@markuplint/selector": "4.0.0-alpha.8",
|
|
40
40
|
"@types/debug": "^4.1.12",
|
|
41
41
|
"debug": "^4.3.4",
|
|
42
42
|
"is-plain-object": "^5.0.0",
|
|
43
43
|
"type-fest": "^4.9.0"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "5bcd25f13ff804af0d09aaabd87e495af668e6a8"
|
|
46
46
|
}
|