Skip to content

Commit

Permalink
Enable obsolete feature linter for HTML category (mdn#23704)
Browse files Browse the repository at this point in the history
Co-authored-by: Florian Scholz <[email protected]>
  • Loading branch information
queengooborg and Elchi3 authored Jul 10, 2024
1 parent a4952cc commit 0fb8227
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions lint/linter/test-obsolete.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const { browsers } = bcd;
const categoriesToCheck = [
'api',
// 'css',
// 'html',
'html',
// 'http',
'javascript',
'mathml',
Expand Down Expand Up @@ -149,14 +149,9 @@ export default {
processData(logger, data);
}
},
// XXX Exceptions disabled while the corresponding categories are ignored
// exceptions: [
// 'http.headers.Cache-Control.stale-if-error',
// 'http.headers.Feature-Policy.layout-animations',
// 'http.headers.Feature-Policy.legacy-image-formats',
// 'http.headers.Feature-Policy.oversized-images',
// 'http.headers.Feature-Policy.unoptimized-images',
// 'http.headers.Feature-Policy.unsized-media',
// 'svg.elements.view.zoomAndPan',
// ],
exceptions: [
'html.elements.track.kind.descriptions',
// The following exceptions are disabled while their categories are ignored:
// 'http.headers.Cache-Control.stale-if-error',
],
} as Linter;

0 comments on commit 0fb8227

Please sign in to comment.