UNPKG

@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) 459 B
import type { Rule } from 'eslint'; import { TSESTree } from '@typescript-eslint/utils'; /** * Recursively processes a style object, reporting and fixing instances of zero values with units. * * @param ruleContext The ESLint rule context. * @param node The ObjectExpression node representing the style object to be processed. */ export declare const processZeroUnitInStyleObject: (ruleContext: Rule.RuleContext, node: TSESTree.ObjectExpression) => void;