File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change
1
+ // @ts -check
2
+
1
3
const DEFAULT_CHECK_PATHS = [ '/' ]
2
4
const DEFAULT_FAIL_WITH_ISSUES = true
3
5
const DEFAULT_IGNORE_DIRECTORIES = [ ]
Original file line number Diff line number Diff line change
1
+ // @ts -check
2
+
1
3
const { getConfiguration } = require ( './config' )
2
4
const pluginCore = require ( './pluginCore' )
3
5
@@ -17,7 +19,6 @@ module.exports = {
17
19
18
20
const { report, issueCount } = await pluginCore . runPa11y ( {
19
21
build,
20
- debugMode,
21
22
htmlFilePaths,
22
23
pa11yOpts,
23
24
} )
Original file line number Diff line number Diff line change
1
+ // @ts -check
2
+
1
3
const pa11y = require ( 'pa11y' )
2
4
const { extname } = require ( 'path' )
3
5
const { isDirectory, isFile } = require ( 'path-type' )
@@ -32,8 +34,6 @@ exports.generateFilePaths = async function ({
32
34
fileAndDirPaths, // array, mix of html and directories
33
35
ignoreDirectories,
34
36
absolutePublishDir,
35
- testMode,
36
- debugMode,
37
37
} ) {
38
38
const excludeDirGlobs = ignoreDirectories . map (
39
39
// add ! and strip leading slash
You can’t perform that action at this time.
0 commit comments