message: style(CI): manually match tslint settings
  We need to add linting to js..
diff: -var fs = require('fs'),
  - resolve = require('path').resolve,
  - join = require('path').join,
  - cp = require('child_process');
  +const fs = require('fs');
  +const resolve = require('path').resolve;
  +const join = require('path').join;
  +const cp = require('child_process');
  -let startingDirectory = process.cwd(),
  - excludedDirectories = ["node_modules", "dist"],
  - attempts = [];
  +const startingDirectory = process.cwd();
  +const excludedDirectories = ['node_modules', 'dist'];
  +const attempts = [];
  @@ -28,12 +28,12 @@ process.exit(0);
  function crawlDir(dir) {
  - let subdirs = [];
  + const subdirs = [];
  fs.readdirSync(dir)
  .forEach(function(mod) {
  - let modPath = join(dir, mod),
  - stat = fs.statSync(modPath);
  + const modPath = join(dir, mod);
  + const stat = fs.statSync(modPath);
  if (stat.isDirectory() && excludedDirectories.indexOf(mod) === -1) {
  subdirs.push(modPath);
  @@ -50,27 +50,38 @@ function crawlDir(dir) {
  }
  function tryInstall(path) {
  - if (!fs.existsSync(join(path, 'package.json'))) return;
  + if (!fs.existsSync(join(path, 'package.json'))) {
  + return
  + };
  console.log('\n-------------- installing in: %s\n', path);
  - let result = cp.spawnSync('yarn', ['install'], { env: process.env, cwd: path, stdio: 'inherit' });
  + const result = cp.spawnSync('yarn', ['install'], {
  + env: process.env,
  + cwd: path,
  + stdio: 'inherit',
  + });
  if (result.status === 0) {
  attempts.push({
  path: path,
  - result: 1
  + result: 1,
  });
  } else {
  attempts.push({
  path: path,
  - result: 0
  + result: 0,
  });
  }
  }
  function runBuild(path) {
  - let result = cp.spawnSync('yarn', ['run', 'build'], { env: process.env, cwd: path, stdio: 'inherit' });
  + const result = cp.spawnSync('yarn', ['run', 'build'], {
  + env: process.env,
  + cwd: path,
  + stdio: 'inherit',
  + });
  +
  if (result.status !== 0) {
  console.log('\n\x1b[0;31mAborting, build failed!\x1b[m\n');
  process.exit(1);
  @@ -78,17 +89,19 @@ function runBuild(path) {
  }
  function outputResults() {
  - let successes = attempts.filter((attempt) => (attempt.result)),
  - failures = attempts.filter((attempt) => (!attempt.result));
  + const successes = attempts.filter((attempt) => (attempt.result));
  + const failures = attempts.filter((attempt) => (!attempt.result));
  console.log('\n');
  +
  for (let i = 0, len = attempts.length; i < len; i++) {
  let attempt = attempts[i],
  resultText = (attempt.result) ? 'Success' : 'Failed!',
  resultColor = (attempt.result) ? '\x1b[0;32m' : '\x1b[0;31m';
  console.log('[%s%s\x1b[m] %s', resultColor, resultText, attempt.path);
  -
  }
  - console.log('\nInstalls attempted: (%d), succeeded: (%d), failed: (%d)\n', attempts.length, successes.length, failures.length);
  +
  + console.log('\nInstalls attempted: (%d), succeeded: (%d), failed: (%d)\n',
  + attempts.length, successes.length, failures.length);
  }
  