mirror of
https://github.com/grafana/grafana.git
synced 2025-08-03 03:13:49 +08:00
Chore: Add lint rule for no-unreduced-motion
(#85862)
* add lint rule for no-unreduced-motion * update to satisfy types
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
// @ts-check
|
||||
const { ESLintUtils, AST_NODE_TYPES } = require('@typescript-eslint/utils');
|
||||
|
||||
const createRule = ESLintUtils.RuleCreator((name) => `https://github.com/grafana/grafana#${name}`);
|
||||
const createRule = ESLintUtils.RuleCreator((name) => `https://github.com/grafana/grafana/blob/main/packages/grafana-eslint-rules/README.md#${name}`);
|
||||
|
||||
const themeTokenUsage = createRule({
|
||||
create(context) {
|
||||
|
Reference in New Issue
Block a user