Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 9e063d5

Browse files
Allow ESLint v9 as peer dependency (#2444)
1 parent eadf0eb commit 9e063d5

File tree

3 files changed

+2
-37
lines changed

3 files changed

+2
-37
lines changed

‎.github/workflows/CI.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,8 @@ jobs:
2828
matrix:
2929
node: [18, 20]
3030
os: [ubuntu-latest]
31-
eslint: [8]
31+
eslint: [8, 9]
3232
include:
33-
# On next ESLint version
34-
- eslint: ^9.0.0-0
35-
node: 20
36-
os: ubuntu-latest
3733
# On old Node version
3834
- eslint: 8
3935
node: 17

‎package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"node": "^14.17.0 || >=16.0.0"
5353
},
5454
"peerDependencies": {
55-
"eslint": "^6.2.0 || ^7.0.0 || ^8.0.0"
55+
"eslint": "^6.2.0 || ^7.0.0 || ^8.0.0 || ^9.0.0"
5656
},
5757
"dependencies": {
5858
"@eslint-community/eslint-utils": "^4.4.0",

‎tests/lib/rules/custom-event-name-casing.js

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -575,37 +575,6 @@ tester.run('custom-event-name-casing', rule, {
575575
]
576576
},
577577
// kebab-case
578-
{
579-
filename: 'test.vue',
580-
code: `
581-
<template>
582-
<input
583-
@click="$emit('fooBar')">
584-
</template>
585-
<script>
586-
export default {
587-
setup(props, context) {
588-
return {
589-
onInput(value) {
590-
context.emit('barBaz')
591-
}
592-
}
593-
},
594-
methods: {
595-
onClick() {
596-
this.$emit('bazQux')
597-
}
598-
}
599-
}
600-
</script>
601-
`,
602-
options: ['kebab-case'],
603-
errors: [
604-
"Custom event name 'fooBar' must be kebab-case.",
605-
"Custom event name 'barBaz' must be kebab-case.",
606-
"Custom event name 'bazQux' must be kebab-case."
607-
]
608-
},
609578
{
610579
filename: 'test.vue',
611580
code: `

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /