-
- Downloads
feat(meta): extend element attribute metadata
fixes #71 BREAKING CHANGE: `MetaElement.attribute` has changed from `string[]` to `MetaAttribute[]` and both `requiredAttributes` and `deprecatedAttributes` has been merged into object. This only affects API usage, primarily custom rules accessing attribute metadata.See `MIGRATION.md` for details. The old format is deprecated but is internally converted as to not break user configuration. For compatibility it will probably be around for quite a while but users should try to migrate as soon as possible.
parent
1f992736
No related branches found
No related tags found
Showing
- MIGRATION.md 162 additions, 0 deletionsMIGRATION.md
- docs/guide/metadata/__tests__/__snapshots__/restrict-attributes.md.spec.ts.snap 17 additions, 9 deletions...tests__/__snapshots__/restrict-attributes.md.spec.ts.snap
- docs/guide/metadata/__tests__/restrict-attributes.md.spec.ts 13 additions, 5 deletionsdocs/guide/metadata/__tests__/restrict-attributes.md.spec.ts
- docs/guide/metadata/restrict-attributes-boolean.json 3 additions, 1 deletiondocs/guide/metadata/restrict-attributes-boolean.json
- docs/guide/metadata/restrict-attributes-deprecated.json 5 additions, 1 deletiondocs/guide/metadata/restrict-attributes-deprecated.json
- docs/guide/metadata/restrict-attributes-enum.json 3 additions, 1 deletiondocs/guide/metadata/restrict-attributes-enum.json
- docs/guide/metadata/restrict-attributes-omit.json 11 additions, 0 deletionsdocs/guide/metadata/restrict-attributes-omit.json
- docs/guide/metadata/restrict-attributes-regexp.json 3 additions, 1 deletiondocs/guide/metadata/restrict-attributes-regexp.json
- docs/guide/metadata/restrict-attributes-required.json 5 additions, 1 deletiondocs/guide/metadata/restrict-attributes-required.json
- docs/guide/metadata/restrict-attributes.md 47 additions, 10 deletionsdocs/guide/metadata/restrict-attributes.md
- docs/rules/__tests__/__snapshots__/attribute-allowed-values.md.spec.ts.snap 32 additions, 27 deletions...__/__snapshots__/attribute-allowed-values.md.spec.ts.snap
- docs/usage/__tests__/__snapshots__/index.md.spec.ts.snap 16 additions, 10 deletionsdocs/usage/__tests__/__snapshots__/index.md.spec.ts.snap
- docs/usage/elements.md 80 additions, 42 deletionsdocs/usage/elements.md
- elements/__snapshots__/html5.spec.ts.snap 510 additions, 324 deletionselements/__snapshots__/html5.spec.ts.snap
- src/integration.spec.ts 9 additions, 3 deletionssrc/integration.spec.ts
- src/meta/element.ts 34 additions, 4 deletionssrc/meta/element.ts
- src/meta/index.ts 1 addition, 0 deletionssrc/meta/index.ts
- src/meta/migrate.spec.ts 152 additions, 0 deletionssrc/meta/migrate.spec.ts
- src/meta/migrate.ts 80 additions, 0 deletionssrc/meta/migrate.ts
- src/meta/table.spec.ts 71 additions, 34 deletionssrc/meta/table.spec.ts
Loading
-
mentioned in commit 79bf22c7
-
mentioned in merge request html-validate-vue-webpack-plugin!59 (merged)
-
mentioned in merge request cypress-html-validate!84 (merged)
-
mentioned in merge request html-validate-jest-snapshot!71 (merged)
-
mentioned in merge request vue-cli-plugin-html-validate!45 (merged)
-
mentioned in merge request demo!49 (merged)
-
mentioned in merge request example-plugin!49 (merged)
-
mentioned in merge request grunt-html-validate!51 (merged)
-
mentioned in merge request html-validate-vue!110 (merged)
-
mentioned in merge request html-validate-angular!89 (merged)
-
mentioned in merge request protractor-html-validate!64 (merged)
-
mentioned in merge request try-online!82 (merged)
-
mentioned in merge request vscode-html-validate!156 (merged)
Please register or sign in to comment