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