Skip to content

Commit 12a2566

Browse files
Ignore more folders by default
1 parent f1a4cf4 commit 12a2566

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

index.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,18 @@ const IGNORE_DIRS = [
1313
"test",
1414
"tests",
1515
"e2e",
16+
"e2e-beta",
1617
"examples",
1718
"cypress",
19+
"jest-cache",
20+
"eslint-rules",
21+
"codemods",
22+
"flow-typed",
23+
"i18n",
24+
"vendor",
25+
"www",
26+
"dist",
27+
"build",
1828
];
1929

2030
const IGNORE_FILE_PATTERN = new RegExp("(conf|test|spec)\\.(js|ts)$", "i");
@@ -34,6 +44,7 @@ const getAllFiles = (dir, extn, files, result, regex) => {
3444
const dirName = path.basename(file);
3545
if (
3646
dirName.startsWith(".") ||
47+
dirName.startsWith("__") ||
3748
IGNORE_DIRS.includes(dirName.toLowerCase())
3849
) {
3950
continue;

0 commit comments

Comments
 (0)