Skip to content

Commit c86ffa1

Browse files
committed
Add vendor, node modules and tests directory to default ignore files list.
1 parent f3a14c6 commit c86ffa1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const program = new Command();
1111
const defaultConfig: WPHooksDocConfig = {
1212
input: '.',
1313
outputDir: './wp-hooks-docs',
14-
ignoreFiles: [],
14+
ignoreFiles: ['/tests/', '/vendor/', '/node_modules/'],
1515
ignoreHooks: [],
1616
title: 'Plugin Hooks Documentation',
1717
tagline: 'Documentation for the plugin hooks',

0 commit comments

Comments
 (0)