@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) • 446 B
TypeScript
import type { Rule } from 'eslint';
import { TSESTree } from '@typescript-eslint/utils';
/**
* Recursively processes a style object, reporting instances of
* unknown CSS units.
*
* @param context The ESLint rule context.
* @param node The ObjectExpression node representing the style object to be
* processed.
*/
export declare const processUnknownUnitInStyleObject: (context: Rule.RuleContext, node: TSESTree.ObjectExpression) => void;