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.

12 lines (11 loc) 586 B
import type { Rule } from 'eslint'; import { TSESTree } from '@typescript-eslint/utils'; /** * Processes a recipe object, removing empty `base` and `variants` properties, as well as empty * variant categories and values. * * @param ruleContext The ESLint rule context. * @param recipeNode The recipe object node to process. * @param reportedNodes A set of nodes that have already been reported by other processors. */ export declare const processRecipeProperties: (ruleContext: Rule.RuleContext, recipeNode: TSESTree.ObjectExpression, reportedNodes: Set<TSESTree.Node>) => void;