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