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 d26de38 commit d2ba5fcCopy full SHA for d2ba5fc
dangerfile.ts
@@ -16,7 +16,7 @@ async function eslint(): Promise<void[]> {
16
const allFiles = danger.git.created_files.concat(danger.git.modified_files);
17
const cli = new CLIEngine({});
18
// let eslint filter down to non-ignored, matching the extensions expected
19
- const filesToLint = allFiles.filter(f => !cli.isPathIgnored(f));
+ const filesToLint = allFiles.filter(f => !cli.isPathIgnored(f) || !f.endsWith('lock') || !f.endsWith('json'));
20
return Promise.all(filesToLint.map(f => lintFile(cli, f)));
21
}
22
0 commit comments