UNPKG

@atlaskit/eslint-plugin-design-system

Version:

The essential plugin for use with the Atlassian Design System.

16 lines (15 loc) 409 B
import { ESLintUtils } from '@typescript-eslint/utils'; import { getRuleUrl } from './get-rule-url'; /** * 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 */ var createRule = ESLintUtils.RuleCreator(function (name) { return getRuleUrl(name); }); export { createRule };