Ignore .gitignored files (#14731)
This commit is contained in:
1 parent
dcc081db0d
commit
b86e42cc84
20 files changed
+228
-121
No files matched your search
@@ -31,6 +31,18 @@ module.exports = {
|
||||
return;
|
||||
}
|
||||
|
||||
// wrapped
|
||||
// `const runCliWithoutGitignore = () => runCli()`
|
||||
// `const runCliWithoutGitignore = () => { return runCli() }`
|
||||
if (
|
||||
(parent.type === "ArrowFunctionExpression" &&
|
||||
parent.body === callExpression) ||
|
||||
(parent.type === "ReturnStatement" &&
|
||||
parent.argument === callExpression)
|
||||
) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (
|
||||
parent.type === "MemberExpression" &&
|
||||
parent.object === callExpression &&
|
||||
|
||||
Reference in new issue
Block a user