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) 543 B
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;