From 16f19bfec894629c5191c3403a211cefe875a1b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20De=20Boey?= Date: Mon, 11 Oct 2021 00:08:58 +0200 Subject: [PATCH] chore: add tests for ESLint 8 --- .github/workflows/ci.yml | 14 ++++++++++---- package.json | 2 +- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d0603d5..1aba6fa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,7 @@ jobs: - name: Install Node.js uses: actions/setup-node@v2 with: - node-version: '16.x' + node-version: 16 - name: Install Packages run: npm install env: @@ -29,13 +29,19 @@ jobs: strategy: matrix: os: [ubuntu-latest] - eslint: [6, 7] - node: ['8.10.0', 8, 10, 12, 14, 16] + eslint: [6, 7, 8] + node: [8.10.0, 8, 10, 12, 14, 16] exclude: + - eslint: 8 + node: 10 + - eslint: 8 + node: 8 + - eslint: 8 + node: 8.10.0 - eslint: 7 node: 8 - eslint: 7 - node: '8.10.0' + node: 8.10.0 include: - os: windows-latest eslint: 7 diff --git a/package.json b/package.json index bf242d4..d56ed42 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ "mdast-util-from-markdown": "^0.8.5" }, "peerDependencies": { - "eslint": ">=6.0.0" + "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" }, "engines": { "node": "^8.10.0 || ^10.12.0 || >=12.0.0"