@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.
10 lines (9 loc) • 423 B
TypeScript
import { TSESTree } from '@typescript-eslint/utils';
/**
* Gets the property name regardless of whether it's an identifier or a literal.
*/
export declare const getStyleKeyName: (key: TSESTree.Expression | TSESTree.PrivateIdentifier) => string | null;
/**
* Checks if all properties in a style object are empty objects.
*/
export declare const areAllChildrenEmpty: (stylesObject: TSESTree.ObjectExpression) => boolean;