UNPKG

audit-resolve-core

Version:

Core modules for audit-resolve.json file and logic of its processing

15 lines (12 loc) 276 B
const RESOLUTIONS = { NONE: 'none', FIX: 'fix', IGNORE: 'ignore', POSTPONE: 'postpone', EXPIRED: 'expired' } RESOLUTIONS.reverseLookup = Object.keys(RESOLUTIONS).reduce((acc, key) => { acc[RESOLUTIONS[key]] = key return acc }, {}) module.exports = RESOLUTIONS