@antebudimir/eslint-plugin-vanilla-extract
Version:
Comprehensive ESLint plugin for vanilla-extract with CSS property ordering, style validation, and best practices enforcement. Supports alphabetical, concentric and custom CSS ordering, auto-fixing, and zero-runtime safety.
8 lines (7 loc) • 372 B
TypeScript
import type { Rule } from 'eslint';
/**
* Creates ESLint rule visitors for detecting and processing unknown CSS units
* in style-related function calls using reference tracking.
* This automatically detects vanilla-extract functions based on their import statements.
*/
export declare const createUnknownUnitVisitors: (context: Rule.RuleContext) => Rule.RuleListener;