message: Skip code analysis if there is nothing to analyse (test is not possible as a test always includes a .js file).
diff: @@ -17,6 +17,13 @@ const analyseCode = async function ({ directory, printSuccess, ui }) {
  ui.printTaskHeader('code analysis');
  const sourceFiles = await analyseCode.getFiles({ directory });
  +
  + if (sourceFiles.length === 0) {
  + ui.printTaskOmission('No code found, skipping code analysis.');
  +
  + return;
  + }
  +
  const pathToEslintRc = path.join(directory, '.eslintrc.json');
  const doesEslintRcExist = await files.exists({ path: pathToEslintRc });
  