@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.
9 lines (8 loc) • 444 B
TypeScript
import type { TSESTree } from '@typescript-eslint/utils';
/**
* Compares two CSS properties alphabetically.
* @param firstProperty The first property to compare.
* @param secondProperty The second property to compare.
* @returns A number indicating the relative order of the properties (-1, 0, or 1).
*/
export declare const comparePropertiesAlphabetically: (firstProperty: TSESTree.Property, secondProperty: TSESTree.Property) => number;