Skip to content

Commit a9b714f

Browse files
authored
Merge pull request #72 from primer/tylerjdev/adjust-component-mapping
Adjust component mapping in `components.js`
2 parents 2f8f9c4 + 34f3943 commit a9b714f

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.changeset/curvy-games-exist.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'eslint-plugin-primer-react': patch
3+
---
4+
5+
Removes `Link`, `Spinner` and `TabNav.Link` from component mapping

src/configs/components.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ const { flattenComponents } = require('../utils/flatten-components');
33
const components = flattenComponents({
44
Button: 'button',
55
IconButton: 'button',
6-
Link: 'a',
7-
Spinner: 'svg',
86
ToggleSwitch: 'button',
97
Radio: 'input',
108
Checkbox: 'input',
@@ -18,7 +16,6 @@ const components = flattenComponents({
1816
self: 'select',
1917
},
2018
TabNav: {
21-
Link: 'a',
2219
self: 'nav',
2320
},
2421
})

0 commit comments

Comments
 (0)