@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) • 514 B
TypeScript
import type { Rule } from 'eslint';
import { TSESTree } from '@typescript-eslint/utils';
/**
* Processes a font face declaration to enforce property ordering:
* 'src' first, then other properties alphabetically.
*
* @param ruleContext The ESLint rule context for reporting and fixing issues.
* @param fontFaceObject The object expression representing the font face declaration.
*/
export declare const enforceFontFaceOrder: (ruleContext: Rule.RuleContext, fontFaceObject: TSESTree.ObjectExpression) => void;