Skip to content

Commit b8a4d95

Browse files
committed
fix dangerfile
1 parent 60a6fa5 commit b8a4d95

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.eslintrc.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// This is an empty file so that danger works correctly
2+
{
3+
}

dangerfile.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ async function eslint(): Promise<void[]> {
1515
const cli = new CLIEngine({});
1616
// let eslint filter down to non-ignored, matching the extensions expected
1717
const filesToLint = allFiles.filter(
18-
f => !f.includes('packages/typescript') && !cli.isPathIgnored(f) && EXTENSIONS.some(ext => f.endsWith(ext)),
18+
f => !f.includes('packages/typescript') && EXTENSIONS.some(ext => f.endsWith(ext)),
1919
);
2020
return Promise.all(filesToLint.map(f => lintFile(cli, f)));
2121
}

0 commit comments

Comments
 (0)