Skip to content

Commit d248cba

Browse files
rename the file
1 parent 4bdf7f9 commit d248cba

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/rules/non-interactive-tooltip-trigger.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const {isPrimerComponent} = require('../utils/is-primer-component')
22
const {getJSXOpeningElementName} = require('../utils/get-jsx-opening-element-name')
3-
const {getJSXOpeningElementAttribute} = require('../utils/get-attribute')
3+
const {getJSXOpeningElementAttribute} = require('../utils/get-jsx-opening-element-attribute')
44

55
isInteractive = child => {
66
const childName = getJSXOpeningElementName(child.openingElement)

src/utils/get-attribute.js renamed to src/utils/get-jsx-opening-element-attribute.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
function getJSXOpeningElementAttribute(openingEl, name) {
22
const attributes = openingEl.attributes
33
const attribute = attributes.find(attribute => {
4-
// console.log('hey attribute', attribute)
54
return attribute.name.name === name
65
})
76

0 commit comments

Comments
 (0)