Skip to content

Commit 15639d6

Browse files
committed
update filenames
1 parent 491ca33 commit 15639d6

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

eslint.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ module.exports = [
2323
plugins: {
2424
eslintPlugin,
2525
importPlugin,
26-
filenames,
26+
filenamesPlugin: fixupPluginRules(filenames),
2727
'i18n-text': fixupPluginRules(i18nTextPlugin),
2828
},
2929
rules: {

test-examples/flat/src/getAttribute.js

+6
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,9 @@ const title = document.createElement('h1')
66
title.textContent = `${title}!`
77

88
foobar(title)
9+
10+
document.addEventListener('click', async function (event) {
11+
const data = await fetch()
12+
13+
event.preventDefault()
14+
})

0 commit comments

Comments
 (0)