Skip to content

Commit 4277186

Browse files
Copilotsiddharthkp
andauthored
Fix lint for Primer ESLint v9
Co-authored-by: siddharthkp <1863771+siddharthkp@users.noreply.github.com>
1 parent 0e06f6e commit 4277186

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

theme/.eslintrc.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
"react/prop-types": "off",
2121
"react/display-name": "off",
2222
"eslint-comments/no-use": "off",
23-
"no-shadow": "off",
24-
"primer-react/no-system-props": ["warn", {"includeUtilityComponents": true}]
23+
"no-shadow": "off"
2524
}
2625
}

theme/src/components/contributors.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function Contributors({contributors}) {
1717
{uniqueContributors.length} {pluralize('contributor', uniqueContributors.length)}
1818
</Text>
1919
{uniqueContributors.map(contributor => (
20-
<Tooltip key={contributor.login} aria-label={contributor.login} sx={{mr: 2, lineHeight: 'condensedUltra'}}>
20+
<Tooltip key={contributor.login} text={contributor.login} sx={{mr: 2, lineHeight: 'condensedUltra'}}>
2121
<Link key={contributor.login} href={`https://github.com/${contributor.login}`}>
2222
<Avatar src={`https://github.com/${contributor.login}.png?size=40`} alt={contributor.login} />
2323
</Link>

0 commit comments

Comments
 (0)