UNPKG

@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.

8 lines (7 loc) 372 B
import type { Rule } from 'eslint'; /** * Creates ESLint rule visitors for detecting and processing unknown CSS units * in style-related function calls using reference tracking. * This automatically detects vanilla-extract functions based on their import statements. */ export declare const createUnknownUnitVisitors: (context: Rule.RuleContext) => Rule.RuleListener;