diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 69cac752d..8d2b7e8ff 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -30,7 +30,7 @@ jobs: name: Test strategy: matrix: - node: [18, 20, 21, 'lts/*'] + node: [18, 20, 22, 24, 'lts/*'] runs-on: ubuntu-latest steps: - name: Checkout @@ -61,6 +61,23 @@ jobs: - name: Test run: npm test + test-with-eslint-v10-alpha: + name: Test with ESLint v10 alpha + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v5 + - name: Install Node.js v18 + uses: actions/setup-node@v6 + with: + node-version: 24 + - name: Install Packages + run: npm install + - name: Install ESLint v10 + run: npm install --save-dev eslint@10 --force + - name: Test + run: npm test + test-without-eslint-stylistic: name: Test without ESLint Stylistic runs-on: ubuntu-latest diff --git a/package.json b/package.json index 07ca8e95a..2fa09f225 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,7 @@ "peerDependencies": { "@stylistic/eslint-plugin": "^2.0.0 || ^3.0.0 || ^4.0.0 || ^5.0.0", "@typescript-eslint/parser": "^7.0.0 || ^8.0.0", - "eslint": "^8.57.0 || ^9.0.0", + "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0-0", "vue-eslint-parser": "^10.0.0" }, "peerDependenciesMeta": {