@salesforce-ux/eslint-plugin-slds
Version:
ESLint plugin provides custom linting rules specifically built for Salesforce Lightning Design System 2 (SLDS 2 beta)
8 lines (7 loc) • 305 B
TypeScript
import type { DeclarationHandler } from '../../../../types';
/**
* Handle density/sizing declarations using CSS tree parsing
* Supports shorthand properties like padding, margin, etc.
* Uses css-tree for reliable AST-based parsing
*/
export declare const handleDensityDeclaration: DeclarationHandler;