UNPKG

@antebudimir/eslint-plugin-vanilla-extract

Version:

ESLint plugin for enforcing best practices in vanilla-extract CSS styles, including CSS property ordering and additional linting rules.

10 lines (9 loc) 479 B
import type { Rule } from 'eslint'; /** * Creates ESLint rule visitors for detecting and processing zero values with units in style-related function calls. * 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 createZeroUnitVisitors: (context: Rule.RuleContext) => Rule.RuleListener;