UNPKG

agentsqripts

Version:

Comprehensive static code analysis toolkit for identifying technical debt, security vulnerabilities, performance issues, and code quality problems

17 lines (14 loc) 511 B
/** * @file Get thresholds for a specific file type * @description Single responsibility: Retrieve appropriate thresholds based on file type */ const defaultThresholds = require('./defaultThresholds'); /** * Get thresholds for a specific file type * @param {string} fileType - Type of file (test, config, default) * @returns {Object} Thresholds for the file type */ function getThresholds(fileType) { return defaultThresholds[fileType] || defaultThresholds.default; } module.exports = getThresholds;