@salesforce-ux/eslint-plugin-slds
Version:
ESLint plugin provides custom linting rules specifically built for Salesforce Lightning Design System 2 (SLDS 2 beta)
9 lines (8 loc) • 335 B
TypeScript
import { Rule } from 'eslint';
/**
* Check if a specific ESLint rule is enabled in the current configuration
* @param context - ESLint rule context
* @param ruleName - rule name
* @returns true if the rule is enabled, false otherwise
*/
export declare function isRuleEnabled(context: Rule.RuleContext, ruleName: string): boolean;