@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.
12 lines (11 loc) • 467 B
TypeScript
import { TSESTree } from '@typescript-eslint/utils';
/**
* Type guard to check if a node is an ObjectExpression.
*/
export declare const isObjectExpression: (node: TSESTree.Node) => node is TSESTree.ObjectExpression;
/**
* Checks if an object expression is empty (has no properties).
* @param node The node to check.
* @returns True if the node is an ObjectExpression with no properties.
*/
export declare const isEmptyObject: (node: TSESTree.Node) => boolean;