Skip to content

Commit cbebe01

Browse files
authored
allow groups as editors (#1604)
1 parent 2bc5f9c commit cbebe01

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/rules/headers/dl.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,9 @@ export async function check(sr, done) {
367367
const editors = dts.Editor.dd;
368368
// 'missingElement' is array of HTML elements without editorId
369369
const missingElement = editors.filter(
370-
editor => !editor.dataset.editorId
370+
editor =>
371+
!editor.dataset.editorId &&
372+
!editor.textContent.match(/(working|interest) group/i)
371373
);
372374
if (missingElement.length) {
373375
sr.error(editorError, 'editor-missing-id', {

0 commit comments

Comments
 (0)