@atlaskit/eslint-plugin-design-system
Version:
The essential plugin for use with the Atlassian Design System.
9 lines (8 loc) • 420 B
TypeScript
import type { Rule } from 'eslint';
import type { ImportDeclaration } from 'eslint-codemod-utils';
import { type ImportedJSXElement } from './is-imported-jsx-element';
export declare function createIsFromImportSourceFor(...importSources: (string | RegExp)[]): {
(node: Rule.Node): node is ImportedJSXElement;
importDeclarationHook(node: ImportDeclaration): void;
getImportSource(node: Rule.Node): string;
};