Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
'use strict';
const { defekt } = require('defekt');
const errors = defekt({
AnalysisFailed: {},
BuildFailed: {},
CodeMalformed: {},
DependencyCheckFailed: {},
DirectoryAccessFailed: {},
ExecutableFailed: {},
FileParsingFailed: {},
GitFailed: {},
GitNotInReleasableState: {},
GitNotInUpdateableState: {},
LicenseCheckFailed: {},
LicenseIncompatible: {},
LicenseNotSupported: {},
LocalBranchBehindRemote: {},
NoCodeFound: {},
NoNodeEngineInPackageJsonFound: {},