Skip to content

Commit 104b473

Browse files
committed
Clean up comments
1 parent 456d354 commit 104b473

File tree

2 files changed

+1
-19
lines changed

2 files changed

+1
-19
lines changed

plugin/index.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
1-
// const {
2-
// cwd,
3-
// env: { SITE }
4-
// } = require('process');
5-
6-
71
const { getConfiguration } = require('./config')
82
const pluginCore = require('./pluginCore');
93

10-
114
module.exports = {
125
async onPostBuild({
136
constants,

plugin/pluginCore.js

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,4 @@ const findHtmlFiles = async function (fileAndDirPath, directoryFilter) {
6363
}
6464

6565
return [fileAndDirPath]
66-
}
67-
68-
// res:
69-
// [ { code: 'WCAG2AA.Principle1.Guideline1_1.1_1_1.H37',
70-
// type: 'error',
71-
// typeCode: 1,
72-
// message:
73-
// 'Img element missing an alt attribute. Use the alt attribute to specify a short text alternative.',
74-
// context: '<img src="https://placekitten.com/200/300">',
75-
// selector: 'html > body > img',
76-
// runner: 'htmlcs',
77-
// runnerExtras: {} } ] }
66+
}

0 commit comments

Comments
 (0)