@sun-asterisk/sunlint
Version:
☀️ SunLint - Multi-language static analysis tool for code quality and security | Sun* Engineering Standards
40 lines (36 loc) • 890 B
JavaScript
/**
* SunLint Category Constants - Legacy Proxy
* @deprecated This file is deprecated. Use core/constants/categories.js instead.
* Maintained for backward compatibility only.
*/
// Import from the new centralized location
const {
SUNLINT_PRINCIPLES,
CATEGORY_PRINCIPLE_MAP,
CATEGORY_DESCRIPTIONS,
getValidCategories,
getCategoryPrinciples,
isValidCategory,
getCategoryDescription,
getDefaultCategory,
normalizeCategory,
getCategoryForPrinciple,
addCategoryMapping,
getCategoryStats
} = require('./constants/categories');
module.exports = {
// Constants
SUNLINT_PRINCIPLES,
CATEGORY_PRINCIPLE_MAP,
CATEGORY_DESCRIPTIONS,
// Utility functions
getValidCategories,
getCategoryPrinciples,
isValidCategory,
getCategoryDescription,
getDefaultCategory,
normalizeCategory,
getCategoryForPrinciple,
addCategoryMapping,
getCategoryStats
};