@markuplint/rules 4.11.2 → 4.18.0
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/CHANGELOG.md +12 -1
- package/SKILL.md +76 -0
- package/lib/attr-check.d.ts +41 -5
- package/lib/attr-check.js +29 -5
- package/lib/attr-duplication/index.d.ts +7 -0
- package/lib/attr-duplication/index.js +7 -0
- package/lib/attr-duplication/meta.d.ts +1 -0
- package/lib/attr-duplication/meta.js +1 -0
- package/lib/attr-value-quotes/index.d.ts +10 -0
- package/lib/attr-value-quotes/index.js +10 -0
- package/lib/attr-value-quotes/meta.d.ts +1 -0
- package/lib/attr-value-quotes/meta.js +1 -0
- package/lib/case-sensitive-attr-name/index.d.ts +9 -0
- package/lib/case-sensitive-attr-name/index.js +8 -0
- package/lib/case-sensitive-attr-name/meta.d.ts +1 -0
- package/lib/case-sensitive-attr-name/meta.js +1 -0
- package/lib/case-sensitive-tag-name/index.d.ts +9 -0
- package/lib/case-sensitive-tag-name/index.js +8 -0
- package/lib/case-sensitive-tag-name/meta.d.ts +1 -0
- package/lib/case-sensitive-tag-name/meta.js +1 -0
- package/lib/character-reference/index.d.ts +8 -0
- package/lib/character-reference/index.js +16 -0
- package/lib/character-reference/meta.d.ts +1 -0
- package/lib/character-reference/meta.js +1 -0
- package/lib/class-naming/index.d.ts +9 -0
- package/lib/class-naming/index.js +8 -0
- package/lib/class-naming/meta.d.ts +1 -0
- package/lib/class-naming/meta.js +1 -0
- package/lib/create-message.d.ts +27 -0
- package/lib/create-message.js +56 -1
- package/lib/debug.d.ts +9 -0
- package/lib/debug.js +5 -0
- package/lib/deprecated-attr/index.d.ts +6 -0
- package/lib/deprecated-attr/index.js +6 -0
- package/lib/deprecated-attr/meta.d.ts +1 -0
- package/lib/deprecated-attr/meta.js +1 -0
- package/lib/deprecated-element/index.d.ts +8 -0
- package/lib/deprecated-element/index.js +8 -0
- package/lib/deprecated-element/meta.d.ts +1 -0
- package/lib/deprecated-element/meta.js +1 -0
- package/lib/disallowed-element/index.d.ts +7 -0
- package/lib/disallowed-element/index.js +7 -0
- package/lib/disallowed-element/meta.d.ts +1 -0
- package/lib/disallowed-element/meta.js +1 -0
- package/lib/doctype/index.d.ts +10 -0
- package/lib/doctype/index.js +8 -0
- package/lib/doctype/meta.d.ts +1 -0
- package/lib/doctype/meta.js +1 -0
- package/lib/end-tag/index.d.ts +7 -0
- package/lib/end-tag/index.js +7 -0
- package/lib/end-tag/meta.d.ts +1 -0
- package/lib/end-tag/meta.js +1 -0
- package/lib/heading-levels/index.d.ts +6 -0
- package/lib/heading-levels/index.js +6 -0
- package/lib/heading-levels/meta.d.ts +1 -0
- package/lib/heading-levels/meta.js +1 -0
- package/lib/helpers.d.ts +104 -0
- package/lib/helpers.js +105 -2
- package/lib/id-duplication/index.d.ts +7 -0
- package/lib/id-duplication/index.js +7 -0
- package/lib/id-duplication/meta.d.ts +1 -0
- package/lib/id-duplication/meta.js +1 -0
- package/lib/index.d.ts +23 -10
- package/lib/index.js +12 -0
- package/lib/ineffective-attr/index.d.ts +7 -0
- package/lib/ineffective-attr/index.js +7 -0
- package/lib/ineffective-attr/meta.d.ts +1 -0
- package/lib/ineffective-attr/meta.js +1 -0
- package/lib/invalid-attr/index.d.ts +24 -0
- package/lib/invalid-attr/index.js +17 -0
- package/lib/invalid-attr/meta.d.ts +1 -0
- package/lib/invalid-attr/meta.js +1 -0
- package/lib/label-has-control/index.d.ts +7 -0
- package/lib/label-has-control/index.js +11 -0
- package/lib/label-has-control/meta.d.ts +1 -0
- package/lib/label-has-control/meta.js +1 -0
- package/lib/landmark-roles/index.d.ts +14 -0
- package/lib/landmark-roles/index.js +21 -0
- package/lib/landmark-roles/meta.d.ts +1 -0
- package/lib/landmark-roles/meta.js +1 -0
- package/lib/neighbor-popovers/index.d.ts +8 -0
- package/lib/neighbor-popovers/index.js +26 -2
- package/lib/neighbor-popovers/meta.d.ts +1 -0
- package/lib/neighbor-popovers/meta.js +1 -0
- package/lib/no-ambiguous-navigable-target-names/index.d.ts +8 -0
- package/lib/no-ambiguous-navigable-target-names/index.js +8 -0
- package/lib/no-ambiguous-navigable-target-names/meta.d.ts +1 -0
- package/lib/no-ambiguous-navigable-target-names/meta.js +1 -0
- package/lib/no-boolean-attr-value/index.d.ts +7 -0
- package/lib/no-boolean-attr-value/index.js +7 -0
- package/lib/no-boolean-attr-value/meta.d.ts +1 -0
- package/lib/no-boolean-attr-value/meta.js +1 -0
- package/lib/no-consecutive-br/index.d.ts +8 -0
- package/lib/no-consecutive-br/index.js +8 -0
- package/lib/no-consecutive-br/meta.d.ts +1 -0
- package/lib/no-consecutive-br/meta.js +1 -0
- package/lib/no-default-value/index.d.ts +7 -0
- package/lib/no-default-value/index.js +7 -0
- package/lib/no-default-value/meta.d.ts +1 -0
- package/lib/no-default-value/meta.js +1 -0
- package/lib/no-duplicate-dt/index.d.ts +6 -0
- package/lib/no-duplicate-dt/index.js +6 -0
- package/lib/no-duplicate-dt/meta.d.ts +1 -0
- package/lib/no-duplicate-dt/meta.js +1 -0
- package/lib/no-empty-palpable-content/index.d.ts +13 -0
- package/lib/no-empty-palpable-content/index.js +12 -0
- package/lib/no-empty-palpable-content/meta.d.ts +1 -0
- package/lib/no-empty-palpable-content/meta.js +1 -0
- package/lib/no-hard-code-id/index.d.ts +8 -0
- package/lib/no-hard-code-id/index.js +8 -0
- package/lib/no-hard-code-id/meta.d.ts +1 -0
- package/lib/no-hard-code-id/meta.js +1 -0
- package/lib/no-orphaned-end-tag/index.d.ts +7 -0
- package/lib/no-orphaned-end-tag/index.js +7 -0
- package/lib/no-orphaned-end-tag/meta.d.ts +1 -0
- package/lib/no-orphaned-end-tag/meta.js +1 -0
- package/lib/no-refer-to-non-existent-id/index.d.ts +8 -0
- package/lib/no-refer-to-non-existent-id/index.js +9 -0
- package/lib/no-refer-to-non-existent-id/meta.d.ts +1 -0
- package/lib/no-refer-to-non-existent-id/meta.js +1 -0
- package/lib/no-use-event-handler-attr/index.d.ts +10 -0
- package/lib/no-use-event-handler-attr/index.js +8 -0
- package/lib/no-use-event-handler-attr/meta.d.ts +1 -0
- package/lib/no-use-event-handler-attr/meta.js +1 -0
- package/lib/permitted-contents/choice.d.ts +17 -0
- package/lib/permitted-contents/choice.js +30 -0
- package/lib/permitted-contents/complex-branch.d.ts +11 -7
- package/lib/permitted-contents/complex-branch.js +11 -7
- package/lib/permitted-contents/content-model.d.ts +11 -0
- package/lib/permitted-contents/content-model.js +32 -0
- package/lib/permitted-contents/count-pattern.d.ts +13 -7
- package/lib/permitted-contents/count-pattern.js +23 -7
- package/lib/permitted-contents/debug.browser.d.ts +12 -0
- package/lib/permitted-contents/debug.browser.js +12 -0
- package/lib/permitted-contents/debug.d.ts +12 -0
- package/lib/permitted-contents/debug.js +12 -0
- package/lib/permitted-contents/index.d.ts +12 -0
- package/lib/permitted-contents/index.js +21 -0
- package/lib/permitted-contents/matches-selector.d.ts +19 -0
- package/lib/permitted-contents/matches-selector.js +33 -0
- package/lib/permitted-contents/meta.d.ts +1 -0
- package/lib/permitted-contents/meta.js +1 -0
- package/lib/permitted-contents/order.d.ts +14 -7
- package/lib/permitted-contents/order.js +14 -7
- package/lib/permitted-contents/recursive-branch.d.ts +17 -0
- package/lib/permitted-contents/recursive-branch.js +17 -0
- package/lib/permitted-contents/represent-transparent-nodes.d.ts +29 -0
- package/lib/permitted-contents/represent-transparent-nodes.js +24 -0
- package/lib/permitted-contents/start.d.ts +12 -6
- package/lib/permitted-contents/start.js +12 -6
- package/lib/permitted-contents/transparent.d.ts +12 -0
- package/lib/permitted-contents/transparent.js +12 -0
- package/lib/permitted-contents/types.d.ts +67 -0
- package/lib/permitted-contents/utils.d.ts +160 -0
- package/lib/permitted-contents/utils.js +194 -0
- package/lib/placeholder-label-option/index.d.ts +7 -0
- package/lib/placeholder-label-option/index.js +19 -15
- package/lib/placeholder-label-option/meta.d.ts +1 -0
- package/lib/placeholder-label-option/meta.js +1 -0
- package/lib/require-accessible-name/index.d.ts +11 -0
- package/lib/require-accessible-name/index.js +7 -0
- package/lib/require-accessible-name/meta.d.ts +1 -0
- package/lib/require-accessible-name/meta.js +1 -0
- package/lib/require-datetime/index.d.ts +12 -0
- package/lib/require-datetime/index.js +8 -0
- package/lib/require-datetime/meta.d.ts +1 -0
- package/lib/require-datetime/meta.js +1 -0
- package/lib/require-datetime/types.d.ts +7 -0
- package/lib/require-datetime/utils.d.ts +18 -5
- package/lib/require-datetime/utils.js +53 -9
- package/lib/required-attr/index.d.ts +13 -0
- package/lib/required-attr/index.js +7 -0
- package/lib/required-attr/meta.d.ts +1 -0
- package/lib/required-attr/meta.js +1 -0
- package/lib/required-element/index.d.ts +14 -0
- package/lib/required-element/index.js +14 -2
- package/lib/required-element/meta.d.ts +1 -0
- package/lib/required-element/meta.js +1 -0
- package/lib/required-h1/index.d.ts +12 -0
- package/lib/required-h1/index.js +7 -0
- package/lib/required-h1/meta.d.ts +1 -0
- package/lib/required-h1/meta.js +1 -0
- package/lib/table-row-column-alignment/find-children.d.ts +10 -0
- package/lib/table-row-column-alignment/find-children.js +11 -0
- package/lib/table-row-column-alignment/grid.d.ts +60 -0
- package/lib/table-row-column-alignment/grid.js +85 -0
- package/lib/table-row-column-alignment/index.d.ts +8 -0
- package/lib/table-row-column-alignment/index.js +8 -0
- package/lib/table-row-column-alignment/meta.d.ts +1 -0
- package/lib/table-row-column-alignment/meta.js +1 -0
- package/lib/table-row-column-alignment/types.d.ts +10 -0
- package/lib/use-list/index.d.ts +16 -0
- package/lib/use-list/index.js +20 -0
- package/lib/use-list/meta.d.ts +1 -0
- package/lib/use-list/meta.js +1 -0
- package/lib/wai-aria/checkings/abstract-role.d.ts +9 -0
- package/lib/wai-aria/checkings/abstract-role.js +9 -0
- package/lib/wai-aria/checkings/default-value.d.ts +11 -0
- package/lib/wai-aria/checkings/default-value.js +11 -0
- package/lib/wai-aria/checkings/deprecated-props.d.ts +11 -0
- package/lib/wai-aria/checkings/deprecated-props.js +11 -0
- package/lib/wai-aria/checkings/deprecated-role.d.ts +10 -0
- package/lib/wai-aria/checkings/deprecated-role.js +10 -0
- package/lib/wai-aria/checkings/disallowed-prop.d.ts +14 -0
- package/lib/wai-aria/checkings/disallowed-prop.js +14 -0
- package/lib/wai-aria/checkings/implicit-props.d.ts +13 -0
- package/lib/wai-aria/checkings/implicit-props.js +13 -0
- package/lib/wai-aria/checkings/implicit-role.d.ts +9 -0
- package/lib/wai-aria/checkings/implicit-role.js +9 -0
- package/lib/wai-aria/checkings/interaction-in-hidden.d.ts +9 -0
- package/lib/wai-aria/checkings/interaction-in-hidden.js +15 -4
- package/lib/wai-aria/checkings/no-global-prop.d.ts +10 -0
- package/lib/wai-aria/checkings/no-global-prop.js +10 -0
- package/lib/wai-aria/checkings/non-existent-role.d.ts +10 -0
- package/lib/wai-aria/checkings/non-existent-role.js +10 -0
- package/lib/wai-aria/checkings/permitted-roles.d.ts +10 -0
- package/lib/wai-aria/checkings/permitted-roles.js +10 -0
- package/lib/wai-aria/checkings/presentational-children.d.ts +7 -1
- package/lib/wai-aria/checkings/presentational-children.js +14 -1
- package/lib/wai-aria/checkings/required-owned-elements.d.ts +9 -1
- package/lib/wai-aria/checkings/required-owned-elements.js +16 -1
- package/lib/wai-aria/checkings/required-prop.d.ts +13 -0
- package/lib/wai-aria/checkings/required-prop.js +13 -0
- package/lib/wai-aria/checkings/value.d.ts +23 -0
- package/lib/wai-aria/checkings/value.js +32 -0
- package/lib/wai-aria/index.d.ts +10 -0
- package/lib/wai-aria/index.js +10 -0
- package/lib/wai-aria/meta.d.ts +1 -0
- package/lib/wai-aria/meta.js +1 -0
- package/lib/wai-aria/types.d.ts +17 -0
- package/package.json +11 -11
|
@@ -1,13 +1,36 @@
|
|
|
1
1
|
import type { Options } from '../types.js';
|
|
2
2
|
import type { AttrChecker } from '@markuplint/ml-core';
|
|
3
3
|
import type { ARIAProperty, ARIARole } from '@markuplint/ml-spec';
|
|
4
|
+
/**
|
|
5
|
+
* Checks whether the value of an ARIA property or state conforms to its expected type.
|
|
6
|
+
*
|
|
7
|
+
* ARIA properties have specific value types (token, token list, true/false, tristate,
|
|
8
|
+
* integer, number, string, ID reference, etc.). This checker validates the attribute
|
|
9
|
+
* value against the property's expected type and allowed enum values.
|
|
10
|
+
* Role-specific conditional value types are also considered.
|
|
11
|
+
*
|
|
12
|
+
* @param attr - The ARIA attribute node to inspect.
|
|
13
|
+
* @param role - The computed ARIA role, used to resolve conditional value types.
|
|
14
|
+
* @param propSpecs - The list of ARIA property specifications for value type lookup.
|
|
15
|
+
* @param booleanish - Whether the document supports booleanish attribute values (e.g., JSX).
|
|
16
|
+
* @returns A violation if the attribute value does not match the expected type.
|
|
17
|
+
*/
|
|
4
18
|
export declare const checkingValue: AttrChecker<boolean, Options, {
|
|
5
19
|
role?: ARIARole | null;
|
|
6
20
|
propSpecs: readonly ARIAProperty[];
|
|
7
21
|
booleanish?: boolean;
|
|
8
22
|
}>;
|
|
9
23
|
/**
|
|
24
|
+
* Validates a raw ARIA value against the expected value type defined in the specification.
|
|
25
|
+
*
|
|
26
|
+
* Supports token, token list, string, ID reference, true/false, tristate,
|
|
27
|
+
* true/false/undefined, integer, and number value types.
|
|
10
28
|
*
|
|
11
29
|
* @see https://www.w3.org/TR/wai-aria-1.2/#propcharacteristic_value
|
|
30
|
+
* @param type - The ARIA value type (e.g., `"token"`, `"true/false"`, `"integer"`).
|
|
31
|
+
* @param value - The raw attribute value to validate.
|
|
32
|
+
* @param tokenEnum - The list of allowed token values for token-based types.
|
|
33
|
+
* @param booleanish - Whether empty string is accepted as a boolean `true` value.
|
|
34
|
+
* @returns `true` if the value is valid for the given type, `false` otherwise.
|
|
12
35
|
*/
|
|
13
36
|
export declare function checkAriaValue(type: string, value: string, tokenEnum: readonly string[], booleanish?: boolean): boolean;
|
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Checks whether the value of an ARIA property or state conforms to its expected type.
|
|
3
|
+
*
|
|
4
|
+
* ARIA properties have specific value types (token, token list, true/false, tristate,
|
|
5
|
+
* integer, number, string, ID reference, etc.). This checker validates the attribute
|
|
6
|
+
* value against the property's expected type and allowed enum values.
|
|
7
|
+
* Role-specific conditional value types are also considered.
|
|
8
|
+
*
|
|
9
|
+
* @param attr - The ARIA attribute node to inspect.
|
|
10
|
+
* @param role - The computed ARIA role, used to resolve conditional value types.
|
|
11
|
+
* @param propSpecs - The list of ARIA property specifications for value type lookup.
|
|
12
|
+
* @param booleanish - Whether the document supports booleanish attribute values (e.g., JSX).
|
|
13
|
+
* @returns A violation if the attribute value does not match the expected type.
|
|
14
|
+
*/
|
|
1
15
|
export const checkingValue = ({ attr, role, propSpecs, booleanish }) => t => {
|
|
2
16
|
if (attr.isDynamicValue) {
|
|
3
17
|
return;
|
|
@@ -15,6 +29,15 @@ export const checkingValue = ({ attr, role, propSpecs, booleanish }) => t => {
|
|
|
15
29
|
: ''),
|
|
16
30
|
};
|
|
17
31
|
};
|
|
32
|
+
/**
|
|
33
|
+
* Validates an ARIA property value against its specification, considering role-specific conditional types.
|
|
34
|
+
*
|
|
35
|
+
* @param propSpec - The ARIA property specification, or `undefined` if the property is unknown.
|
|
36
|
+
* @param currentValue - The current attribute value to validate.
|
|
37
|
+
* @param role - The name of the computed role, used to resolve conditional value types.
|
|
38
|
+
* @param booleanish - Whether booleanish values (empty string as `true`) are accepted.
|
|
39
|
+
* @returns An object containing the validation result and, for enum types, the allowed values.
|
|
40
|
+
*/
|
|
18
41
|
function checkAria(propSpec, currentValue, role, booleanish) {
|
|
19
42
|
if (!propSpec) {
|
|
20
43
|
return {
|
|
@@ -40,8 +63,17 @@ function checkAria(propSpec, currentValue, role, booleanish) {
|
|
|
40
63
|
};
|
|
41
64
|
}
|
|
42
65
|
/**
|
|
66
|
+
* Validates a raw ARIA value against the expected value type defined in the specification.
|
|
67
|
+
*
|
|
68
|
+
* Supports token, token list, string, ID reference, true/false, tristate,
|
|
69
|
+
* true/false/undefined, integer, and number value types.
|
|
43
70
|
*
|
|
44
71
|
* @see https://www.w3.org/TR/wai-aria-1.2/#propcharacteristic_value
|
|
72
|
+
* @param type - The ARIA value type (e.g., `"token"`, `"true/false"`, `"integer"`).
|
|
73
|
+
* @param value - The raw attribute value to validate.
|
|
74
|
+
* @param tokenEnum - The list of allowed token values for token-based types.
|
|
75
|
+
* @param booleanish - Whether empty string is accepted as a boolean `true` value.
|
|
76
|
+
* @returns `true` if the value is valid for the given type, `false` otherwise.
|
|
45
77
|
*/
|
|
46
78
|
export function checkAriaValue(type, value, tokenEnum, booleanish) {
|
|
47
79
|
switch (type) {
|
package/lib/wai-aria/index.d.ts
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
1
|
import type { Options } from './types.js';
|
|
2
|
+
/**
|
|
3
|
+
* WAI-ARIA rule for markuplint.
|
|
4
|
+
*
|
|
5
|
+
* Validates the correct usage of WAI-ARIA roles, states, and properties
|
|
6
|
+
* on HTML elements. This rule performs a comprehensive set of checks including
|
|
7
|
+
* role validity, property values, required owned elements, and conformance
|
|
8
|
+
* with the ARIA in HTML specification.
|
|
9
|
+
*
|
|
10
|
+
* Individual checks can be toggled on or off via the rule's options.
|
|
11
|
+
*/
|
|
2
12
|
declare const _default: Readonly<import("@markuplint/ml-core").RuleSeed<boolean, Options>>;
|
|
3
13
|
export default _default;
|
package/lib/wai-aria/index.js
CHANGED
|
@@ -17,6 +17,16 @@ import { checkingRequiredOwnedElements } from './checkings/required-owned-elemen
|
|
|
17
17
|
import { checkingRequiredProp } from './checkings/required-prop.js';
|
|
18
18
|
import { checkingValue } from './checkings/value.js';
|
|
19
19
|
import meta from './meta.js';
|
|
20
|
+
/**
|
|
21
|
+
* WAI-ARIA rule for markuplint.
|
|
22
|
+
*
|
|
23
|
+
* Validates the correct usage of WAI-ARIA roles, states, and properties
|
|
24
|
+
* on HTML elements. This rule performs a comprehensive set of checks including
|
|
25
|
+
* role validity, property values, required owned elements, and conformance
|
|
26
|
+
* with the ARIA in HTML specification.
|
|
27
|
+
*
|
|
28
|
+
* Individual checks can be toggled on or off via the rule's options.
|
|
29
|
+
*/
|
|
20
30
|
export default createRule({
|
|
21
31
|
meta: meta,
|
|
22
32
|
defaultOptions: {
|
package/lib/wai-aria/meta.d.ts
CHANGED
package/lib/wai-aria/meta.js
CHANGED
package/lib/wai-aria/types.d.ts
CHANGED
|
@@ -1,14 +1,31 @@
|
|
|
1
1
|
import type { ARIAVersion } from '@markuplint/ml-spec';
|
|
2
|
+
/**
|
|
3
|
+
* Configuration options for the `wai-aria` rule.
|
|
4
|
+
*
|
|
5
|
+
* Each boolean flag enables or disables a specific WAI-ARIA validation check.
|
|
6
|
+
* The `version` field determines which ARIA specification version to validate against.
|
|
7
|
+
*/
|
|
2
8
|
export type Options = {
|
|
9
|
+
/** Whether to validate ARIA property and state values against their expected types. */
|
|
3
10
|
checkingValue: boolean;
|
|
11
|
+
/** Whether to report usage of deprecated ARIA properties and states. */
|
|
4
12
|
checkingDeprecatedProps: boolean;
|
|
13
|
+
/** Whether to report usage of deprecated ARIA roles. */
|
|
5
14
|
checkingDeprecatedRole: boolean;
|
|
15
|
+
/** Whether to enforce the list of permitted ARIA roles for each element. */
|
|
6
16
|
permittedAriaRoles: boolean;
|
|
17
|
+
/** Whether to verify that roles requiring specific owned elements contain them. */
|
|
7
18
|
checkingRequiredOwnedElements: boolean;
|
|
19
|
+
/** Whether to warn when ARIA attributes are set on descendants of presentational-children roles. */
|
|
8
20
|
checkingPresentationalChildren: boolean;
|
|
21
|
+
/** Whether to warn about focusable interactive elements hidden via `aria-hidden`. */
|
|
9
22
|
checkingInteractionInHidden: boolean;
|
|
23
|
+
/** Whether to disallow explicitly setting a role that matches the element's implicit role. */
|
|
10
24
|
disallowSetImplicitRole: boolean;
|
|
25
|
+
/** Whether to disallow explicitly setting ARIA properties that duplicate the element's native semantics. */
|
|
11
26
|
disallowSetImplicitProps: boolean;
|
|
27
|
+
/** Whether to disallow explicitly setting an ARIA property to its default value. */
|
|
12
28
|
disallowDefaultValue: boolean;
|
|
29
|
+
/** The WAI-ARIA specification version to validate against. */
|
|
13
30
|
version: ARIAVersion;
|
|
14
31
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@markuplint/rules",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.18.0",
|
|
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>",
|
|
@@ -24,18 +24,18 @@
|
|
|
24
24
|
"./lib/permitted-contents/debug.js": "./lib/permitted-contents/debug.browser.js"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@markuplint/html-spec": "4.
|
|
28
|
-
"@markuplint/ml-core": "4.
|
|
29
|
-
"@markuplint/ml-spec": "4.
|
|
30
|
-
"@markuplint/selector": "4.
|
|
31
|
-
"@markuplint/shared": "4.
|
|
32
|
-
"@markuplint/types": "4.
|
|
33
|
-
"@types/debug": "4.1.
|
|
27
|
+
"@markuplint/html-spec": "4.18.0",
|
|
28
|
+
"@markuplint/ml-core": "4.18.0",
|
|
29
|
+
"@markuplint/ml-spec": "4.18.0",
|
|
30
|
+
"@markuplint/selector": "4.18.0",
|
|
31
|
+
"@markuplint/shared": "4.18.0",
|
|
32
|
+
"@markuplint/types": "4.18.0",
|
|
33
|
+
"@types/debug": "4.1.13",
|
|
34
34
|
"@ungap/structured-clone": "1.3.0",
|
|
35
35
|
"ansi-colors": "4.1.3",
|
|
36
|
-
"chrono-node": "2.
|
|
36
|
+
"chrono-node": "2.9.0",
|
|
37
37
|
"debug": "4.4.3",
|
|
38
|
-
"type-fest": "
|
|
38
|
+
"type-fest": "5.6.0"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "1885af6349def3f19df975b9e9c399dd47361de1"
|
|
41
41
|
}
|