WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 17c56ce

Browse files
rzzfFloEdelmann
andauthored
Update tests/lib/rules/no-undef-directives.js
Co-authored-by: Flo Edelmann <[email protected]>
1 parent a5dad27 commit 17c56ce

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tests/lib/rules/no-undef-directives.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,16 @@ tester.run('no-undef-directives', rule, {
229229
</template>
230230
`,
231231
options: [{ ignorePatterns: ['foo'] }]
232+
},
233+
{
234+
filename: 'test.vue',
235+
code: `
236+
<template>
237+
<div v-fooBar></div>
238+
<div v-foo-bar></div>
239+
</template>
240+
`,
241+
options: [{ ignorePatterns: ['foo-bar'] }]
232242
}
233243
],
234244
invalid: [

0 commit comments

Comments
 (0)