@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.
10 lines (9 loc) • 465 B
TypeScript
import type { Rule } from 'eslint';
/**
* Creates ESLint rule visitors for detecting and processing trailing zeros in numeric CSS values.
* Uses reference tracking to automatically detect vanilla-extract functions based on their import statements.
*
* @param context The ESLint rule context.
* @returns An object with visitor functions for the ESLint rule.
*/
export declare const createTrailingZeroVisitors: (context: Rule.RuleContext) => Rule.RuleListener;