UNPKG

@atlaskit/eslint-plugin-design-system

Version:

The essential plugin for use with the Atlassian Design System.

12 lines (11 loc) 485 B
import { ESLintUtils } from '@typescript-eslint/utils'; /** * We are moving to our own small abstraction to create a lint rule that we have the power * to change and mold to our own needs. * * @see createLintRule * * @private * @deprecated */ export declare const createRule: <Options extends readonly unknown[], MessageIds extends string>({ name, meta, ...rule }: Readonly<ESLintUtils.RuleWithMetaAndName<Options, MessageIds>>) => ESLintUtils.RuleModule<MessageIds, Options>;