@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.
11 lines (10 loc) • 450 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 function removeNodeWithComma(ruleContext: Rule.RuleContext, node: TSESTree.Node, fixer: Rule.RuleFixer): Rule.Fix;