diff --git a/index.js b/index.js index ceb6226..8515567 100644 --- a/index.js +++ b/index.js @@ -1,6 +1,7 @@ const checkLockVersion = require("./lib/checks/lockVersion"); const checkForPreRelease = require("./lib/checks/preReleases"); const checkForWorkspaces = require("./lib/checks/workspaces"); +const hasMSBridgeConfig = require("./lib/checks/msbridge"); const hasYarnLock = require("./lib/checks/yarn"); const { FatalError } = require("./lib/errors"); const { getPackageLock, getPackage } = require("./lib/utils"); @@ -13,6 +14,7 @@ function lint() { errors.push(checkLockVersion(pkgLock)); errors.push(checkForPreRelease(pkgJson)); errors.push(checkForWorkspaces(pkgJson)); + errors.push(hasMSBridgeConfig()); for (const error of errors) { if (error instanceof FatalError) { process.stderr.write(`${error.message}\n`);