@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) • 543 B
TypeScript
import type { Rule } from 'eslint';
import { TSESTree } from '@typescript-eslint/utils';
/**
* Recursively processes a style node, which can be an object or an array of objects.
* @param ruleContext The ESLint rule context.
* @param node The node to process.
* @param processProperty A function to process each object expression.
*/
export declare const processStyleNode: (ruleContext: Rule.RuleContext, node: TSESTree.Node | undefined, processProperty: (ruleContext: Rule.RuleContext, value: TSESTree.ObjectExpression) => void) => void;