@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.
11 lines (10 loc) • 451 B
TypeScript
import type { Rule } from 'eslint';
import type { TSESTree } from '@typescript-eslint/utils';
/**
* Removes the given node and also removes a trailing comma if it exists.
* @param ruleContext The ESLint rule context.
* @param node The node to remove.
* @param fixer The ESLint fixer.
* @returns The fix object.
*/
export declare const removeNodeWithComma: (ruleContext: Rule.RuleContext, node: TSESTree.Node, fixer: Rule.RuleFixer) => Rule.Fix;