html-validate 7.0.0 → 7.1.2
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/{LICENCE → LICENSE} +0 -0
- package/dist/cjs/core.d.ts +2 -1
- package/dist/cjs/core.js +239 -84
- package/dist/cjs/core.js.map +1 -1
- package/dist/es/core.d.ts +2 -1
- package/dist/es/core.js +239 -84
- package/dist/es/core.js.map +1 -1
- package/elements/html5.js +6 -0
- package/package.json +32 -37
package/dist/es/core.d.ts
CHANGED
|
@@ -333,12 +333,13 @@ declare abstract class Rule<ContextType = void, OptionsType = void> {
|
|
|
333
333
|
* not `"foo"`.
|
|
334
334
|
*
|
|
335
335
|
* @param keyword - Keyword to match against `include` and `exclude` options.
|
|
336
|
+
* @param matcher - Optional function to compare items with.
|
|
336
337
|
* @returns `true` if keyword is not present in `include` or is present in
|
|
337
338
|
* `exclude`.
|
|
338
339
|
*/
|
|
339
340
|
isKeywordIgnored<T extends IncludeExcludeOptions>(this: {
|
|
340
341
|
options: T;
|
|
341
|
-
}, keyword: string): boolean;
|
|
342
|
+
}, keyword: string, matcher?: (list: string[], it: string) => boolean): boolean;
|
|
342
343
|
/**
|
|
343
344
|
* Find all tags which has enabled given property.
|
|
344
345
|
*/
|