primer / eslint-plugin-primer-react

ESLint rules for Primer React

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create an eslint rule that suggest using the new accessible Tooltip

broccolinisoup opened this issue · comments

Based on our team strategy of rolling out breaking accessibility remediations, we need a supporting eslint rule for Tooltip. The rule will suggest using the new accessible tooltip rather than the one in the main bundle.

From

import { Tooltip } from '@primer/react'

to

import { Tooltip } from '@primer/react/next'

Closing this PR since the rule is ready but just waiting to finish the icon button roll out before enabling the rule at dotcom #103