@atlaskit/eslint-plugin-design-system
Version:
The essential plugin for use with the Atlassian Design System.
13 lines (12 loc) • 373 B
JavaScript
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
*/
export const createRule = ESLintUtils.RuleCreator(name => getRuleUrl(name));