We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60a6fa5 commit 9881251Copy full SHA for 9881251
.eslintrc.js
@@ -0,0 +1,3 @@
1
+// This is an empty file so that danger works correctly
2
+{
3
+}
dangerfile.ts
@@ -15,7 +15,7 @@ async function eslint(): Promise<void[]> {
15
const cli = new CLIEngine({});
16
// let eslint filter down to non-ignored, matching the extensions expected
17
const filesToLint = allFiles.filter(
18
- f => !f.includes('packages/typescript') && !cli.isPathIgnored(f) && EXTENSIONS.some(ext => f.endsWith(ext)),
+ f => !f.includes('packages/typescript') && !f.includes('packages/') && EXTENSIONS.some(ext => f.endsWith(ext)),
19
);
20
return Promise.all(filesToLint.map(f => lintFile(cli, f)));
21
}
0 commit comments